#D04342#D04342

#D04342 is a mid, vivid red. Relative luminance 0.178; OKLCH L 58.4% C 0.178 H 24.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#D04342
RGBrgb(208, 67, 66)
HSLhsl(0, 60%, 54%)
HSVhsv(0, 68%, 82%)
CMYKcmyk(0%, 67.8%, 68.3%, 18.4%)
CIE-LABlab(49.28, 55.25, 32.18)
CIE-LCHlch(49.28, 63.94, 30.22°)
OKLaboklab(58.4% 0.1614 0.0748)
OKLCHoklch(58.4% 0.178 24.9)
XYZxyz(29.0060, 17.8217, 7.0658)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04342 #42CFD0
analogous
#D04288 #D04342 #D08A42
triadic
#D04342 #42D043 #4342D0
tetradic
#D04342 #88D042 #42CFD0 #8A42D0
square
#D04342 #88D042 #42CFD0 #8A42D0
split-complementary
#D04342 #42D08A #4288D0
monochromatic
#791F1E #AA2B2A #D04342 #DC7473 #E8A5A4

Accessibility & contrast

On white

4.60
#D04342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#D04342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D04342
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04342#FFFFFF#000000##FFFFFF
##D043421.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6241
Deuteranopia (green-blind)
#8D803E
Tritanopia (blue-blind)
#E41B44
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d04342;
/* rgb */ color: rgb(208, 67, 66);
/* oklch */ color: oklch(58.4% 0.178 24.9);
Tailwind
colors: {
  custom: {
    50: '#e67f76',
    500: '#d04342',
    950: '#000000',
  },
}
SCSS
$custom: #d04342;
$custom-light: #e67f76;
$custom-dark: #000000;
JSON
{
  "hex": "#d04342",
  "rgb": {
    "r": 208,
    "g": 67,
    "b": 66
  },
  "hsl": {
    "h": 0.423,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58403,
    "c": 0.17785,
    "h": 24.9
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#D04342
secondary
#99D5D5
accent
#E2E344
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #D04342

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

Preview Lab → · Contrast checker → · Palette generator →

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