#D04742#D04742

#D04742 is a mid, vivid red. Relative luminance 0.183; OKLCH L 58.8% C 0.174 H 26.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#D04742
RGBrgb(208, 71, 66)
HSLhsl(2, 60%, 54%)
HSVhsv(2, 68%, 82%)
CMYKcmyk(0%, 65.9%, 68.3%, 18.4%)
CIE-LABlab(49.87, 53.64, 32.90)
CIE-LCHlch(49.87, 62.92, 31.52°)
OKLaboklab(58.85% 0.1563 0.0764)
OKLCHoklch(58.85% 0.174 26)
XYZxyz(29.2521, 18.3139, 7.1478)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04742 #42CBD0
analogous
#D04284 #D04742 #D08E42
triadic
#D04742 #42D047 #4742D0
tetradic
#D04742 #84D042 #42CBD0 #8E42D0
square
#D04742 #84D042 #42CBD0 #8E42D0
split-complementary
#D04742 #42D08E #4284D0
monochromatic
#79211E #AA2F2A #D04742 #DC7773 #E8A6A4

Accessibility & contrast

On white

4.50
#D04742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#D04742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04742
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04742#FFFFFF#000000##000000
##D047421.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C6440
Deuteranopia (green-blind)
#8F823E
Tritanopia (blue-blind)
#E42447
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04742;
/* rgb */ color: rgb(208, 71, 66);
/* oklch */ color: oklch(58.8% 0.174 26.0);
Tailwind
colors: {
  custom: {
    50: '#e68176',
    500: '#d04742',
    950: '#000000',
  },
}
SCSS
$custom: #d04742;
$custom-light: #e68176;
$custom-dark: #000000;
JSON
{
  "hex": "#d04742",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 66
  },
  "hsl": {
    "h": 2.113,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58849,
    "c": 0.17392,
    "h": 26
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#D04742
secondary
#99D3D5
accent
#DEE344
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #D04742

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

Preview Lab → · Contrast checker → · Palette generator →

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