#D02E2F#D02E2F

#D02E2F is a mid, vivid red. Relative luminance 0.156; OKLCH L 56.2% C 0.198 H 26.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D02E2F
RGBrgb(208, 46, 47)
HSLhsl(360, 64%, 50%)
HSVhsv(360, 78%, 82%)
CMYKcmyk(0%, 77.9%, 77.4%, 18.4%)
CIE-LABlab(46.41, 61.72, 39.78)
CIE-LCHlch(46.41, 73.42, 32.80°)
OKLaboklab(56.19% 0.1778 0.0873)
OKLCHoklch(56.19% 0.198 26.1)
XYZxyz(27.5058, 15.5735, 4.2465)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02E2F #2ED0CF
analogous
#D02E80 #D02E2F #D07E2E
triadic
#D02E2F #2FD02E #2E2FD0
tetradic
#D02E2F #80D02E #2ED0CF #7E2ED0
square
#D02E2F #80D02E #2ED0CF #7E2ED0
split-complementary
#D02E2F #2ED07E #2E80D0
monochromatic
#6C1818 #9E2324 #D02E2F #DC5F60 #E79292

Accessibility & contrast

On white

5.10
#D02E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#D02E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02E2F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02E2F#FFFFFF#000000##FFFFFF
##D02E2F1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582D
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#E50031
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d02e2f;
/* rgb */ color: rgb(208, 46, 47);
/* oklch */ color: oklch(56.2% 0.198 26.1);
Tailwind
colors: {
  custom: {
    50: '#e87568',
    500: '#d02e2f',
    950: '#000000',
  },
}
SCSS
$custom: #d02e2f;
$custom-light: #e87568;
$custom-dark: #000000;
JSON
{
  "hex": "#d02e2f",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 359.63,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56187,
    "c": 0.19809,
    "h": 26.1
  },
  "luminance": 0.15569
}

Semantic roles & 50–950 ramp

primary
#D02E2F
secondary
#88D2D1
accent
#E7E641
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #D02E2F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D02E2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva