#D02F2E#D02F2E

#D02F2E is a mid, vivid red. Relative luminance 0.156; OKLCH L 56.3% C 0.197 H 26.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D02F2E
RGBrgb(208, 47, 46)
HSLhsl(0, 64%, 50%)
HSVhsv(0, 78%, 82%)
CMYKcmyk(0%, 77.4%, 77.9%, 18.4%)
CIE-LABlab(46.50, 61.39, 40.44)
CIE-LCHlch(46.50, 73.51, 33.37°)
OKLaboklab(56.25% 0.1766 0.0884)
OKLCHoklch(56.25% 0.197 26.6)
XYZxyz(27.5254, 15.6446, 4.1546)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02F2E #2ECFD0
analogous
#D02E7E #D02F2E #D0802E
triadic
#D02F2E #2ED02F #2F2ED0
tetradic
#D02F2E #7ED02E #2ECFD0 #802ED0
square
#D02F2E #7ED02E #2ECFD0 #802ED0
split-complementary
#D02F2E #2ED080 #2E7ED0
monochromatic
#6C1818 #9E2423 #D02F2E #DC605F #E79292

Accessibility & contrast

On white

5.09
#D02F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#D02F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02F2E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02F2E#FFFFFF#000000##FFFFFF
##D02F2E1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d02f2e;
/* rgb */ color: rgb(208, 47, 46);
/* oklch */ color: oklch(56.3% 0.197 26.6);
Tailwind
colors: {
  custom: {
    50: '#e87668',
    500: '#d02f2e',
    950: '#000000',
  },
}
SCSS
$custom: #d02f2e;
$custom-light: #e87668;
$custom-dark: #000000;
JSON
{
  "hex": "#d02f2e",
  "rgb": {
    "r": 208,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 0.37,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.19747,
    "h": 26.6
  },
  "luminance": 0.1564
}

Semantic roles & 50–950 ramp

primary
#D02F2E
secondary
#88D1D2
accent
#E6E741
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #D02F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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