CSS Named Color Reference

Red Color Code

Red·#FF0000

Red FamilyWarmMid toneHigh saturationoklch(62.8% 0.258 29)
HEX
#FF0000Primary token
RGB
rgb(255, 0, 0)Screen values
HSL
hsl(0 100% 50%)Hue and lightness
CMYK
0, 100, 100, 0Print handoff
LAB
53, 80, 67Perceptual reference
OKLCH
oklch(62.8% 0.258 29)Modern perceptual

Red is a mid-tone, high-saturation CSS named color at #FF0000. If you searched for red hex code, FF0000, or red RGB, this page gives the exact color value, conversion formats, contrast checks, nearby colors, and links into the lookup and converter workflows.

Best text colorDark text
Body text contrast4.29:1
Best UseAlerts, destructive actions, high-energy CTAs, and urgent interface signals

Tonal Scale

100#FFD1D1
300#FF8A8A
500#FF2E2E
600#FF0000
800#B80000

Contrast Checks

White text on this color

Buttons, badges, and filled actions.

4.00:1Large text / UI only

Dark text on this color

Large headings and selective UI.

4.29:1Large text / UI only

This color on light surface

Links, borders, and icons on light UI.

3.80:1Large text / UI only
Best text colorDark textContrast 4.29:1

Professional Reference

OKLCHoklch(62.8% 0.258 29)
Relative Luminance0.2126
Source TypeCSS Named Color
Classification
Red FamilyWarmMid toneHigh saturation
Source Context
Source Type
CSS Named Color
System
CSS
Closest Matches
Material Deep Orange A400Orange RedMaterial Red A700
Color Notes
  • Red is kept as an exact CSS named color for #FF0000.
  • Queries for red color code, FF0000, or red RGB usually need the value first, then contrast and implementation context.

Accessibility Matrix

White text on this color

White text placed on the current color.

4.00:1Large text / UI only

Dark text on this color

Dark text or headings on the current color.

4.29:1Large text / UI only

This color on light surface

Use this color for links, strokes, or icons on light UI.

3.80:1Large text / UI only

This color on dark surface

Use this color inside dark shells for strokes, tags, or icons.

4.29:1Large text / UI only
Best text colorDark textContrast 4.29:1 · Large text / UI only

Where It Works

  • Use it for alerts, errors, destructive actions, urgent badges, and high-energy accents.
  • Keep red focused because broad red surfaces can feel heavy or stressful.
  • Pair with white, warm neutrals, deep red shades, and restrained supporting colors.

Reference Notes

Last Updated
2026-09-03
Source Library
CSS Standard Colors
Methodology
Verified source values + site guidance
Color Notes

Red is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product and interface reference work.

Hue Family

High-energy warm reds for editorial and alerts.

Source Collections
CSS Named Colors

Related Colors

Palette Starting Points

Implementation Snippets

CSS Variables
:root {
  --color-red: #FF0000;
  --color-red-rgb: 255 0 0;
}
Utility Class
class="bg-[#FF0000] text-white"
class="hover:bg-[#B80000] ring-1 ring-[#FF0000]"
JSON Token
{
  "red": "#FF0000",
  "redRgb": [255, 0, 0],
  "redHsl": [0, 100, 50]
}