#D94D42#D94D42

#D94D42 is a mid, vivid red. Relative luminance 0.205; OKLCH L 61.0% C 0.178 H 28.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D94D42
RGBrgb(217, 77, 66)
HSLhsl(4, 67%, 55%)
HSVhsv(4, 70%, 85%)
CMYKcmyk(0%, 64.5%, 69.6%, 14.9%)
CIE-LABlab(52.35, 54.15, 36.21)
CIE-LCHlch(52.35, 65.14, 33.78°)
OKLaboklab(61% 0.1568 0.0833)
OKLCHoklch(61% 0.178 28)
XYZxyz(32.2559, 20.4574, 7.4034)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94D42 #42CED9
analogous
#D94282 #D94D42 #D99842
triadic
#D94D42 #42D94D #4D42D9
tetradic
#D94D42 #82D942 #42CED9 #9842D9
square
#D94D42 #82D942 #42CED9 #9842D9
split-complementary
#D94D42 #42D998 #4282D9
monochromatic
#86231B #B93025 #D94D42 #E37D75 #EDADA8

Accessibility & contrast

On white

4.13
#D94D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D94D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94D42
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94D42#FFFFFF#000000##000000
##D94D421.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#736A40
Deuteranopia (green-blind)
#96883E
Tritanopia (blue-blind)
#EE2A4B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d94d42;
/* rgb */ color: rgb(217, 77, 66);
/* oklch */ color: oklch(61.0% 0.178 28.0);
Tailwind
colors: {
  custom: {
    50: '#ed8577',
    500: '#d94d42',
    950: '#000000',
  },
}
SCSS
$custom: #d94d42;
$custom-light: #ed8577;
$custom-dark: #000000;
JSON
{
  "hex": "#d94d42",
  "rgb": {
    "r": 217,
    "g": 77,
    "b": 66
  },
  "hsl": {
    "h": 4.371,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.17755,
    "h": 28
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#D94D42
secondary
#9CD6DB
accent
#DDE93E
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B

Preview Lab

Preview with #D94D42

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

Preview Lab → · Contrast checker → · Palette generator →

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