#D03F42#D03F42

#D03F42 is a mid, vivid red. Relative luminance 0.174; OKLCH L 58.0% C 0.182 H 23.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#D03F42
RGBrgb(208, 63, 66)
HSLhsl(359, 61%, 53%)
HSVhsv(359, 70%, 82%)
CMYKcmyk(0%, 69.7%, 68.3%, 18.4%)
CIE-LABlab(48.71, 56.80, 31.50)
CIE-LCHlch(48.71, 64.95, 29.01°)
OKLaboklab(57.98% 0.1663 0.0733)
OKLCHoklch(57.98% 0.182 23.8)
XYZxyz(28.7764, 17.3625, 6.9892)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03F42 #3FD0CD
analogous
#D03F8A #D03F42 #D0853F
triadic
#D03F42 #42D03F #3F42D0
tetradic
#D03F42 #8AD03F #3FD0CD #853FD0
square
#D03F42 #8AD03F #3FD0CD #853FD0
split-complementary
#D03F42 #3FD085 #3F8AD0
monochromatic
#771D1F #A9292C #D03F42 #DC7072 #E8A1A3

Accessibility & contrast

On white

4.70
#D03F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#D03F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D03F42
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03F42#FFFFFF#000000##FFFFFF
##D03F421.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686041
Deuteranopia (green-blind)
#8C7F3E
Tritanopia (blue-blind)
#E40F42
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d03f42;
/* rgb */ color: rgb(208, 63, 66);
/* oklch */ color: oklch(58.0% 0.182 23.8);
Tailwind
colors: {
  custom: {
    50: '#e67d76',
    500: '#d03f42',
    950: '#000000',
  },
}
SCSS
$custom: #d03f42;
$custom-light: #e67d76;
$custom-dark: #000000;
JSON
{
  "hex": "#d03f42",
  "rgb": {
    "r": 208,
    "g": 63,
    "b": 66
  },
  "hsl": {
    "h": 358.759,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57981,
    "c": 0.18168,
    "h": 23.8
  },
  "luminance": 0.17358
}

Semantic roles & 50–950 ramp

primary
#D03F42
secondary
#96D5D3
accent
#E4E044
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #D03F42

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

Preview Lab → · Contrast checker → · Palette generator →

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