#D42331#D42331

#D42331 is a mid, highly saturated red. Relative luminance 0.154; OKLCH L 56.2% C 0.209 H 24.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D42331
RGBrgb(212, 35, 49)
HSLhsl(355, 72%, 48%)
HSVhsv(355, 83%, 83%)
CMYKcmyk(0%, 83.5%, 76.9%, 16.9%)
CIE-LABlab(46.21, 65.76, 38.67)
CIE-LCHlch(46.21, 76.29, 30.46°)
OKLaboklab(56.19% 0.1906 0.0852)
OKLCHoklch(56.19% 0.209 24.1)
XYZxyz(28.3103, 15.4255, 4.3919)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42331 #23D4C6
analogous
#D42389 #D42331 #D46D23
triadic
#D42331 #31D423 #2331D4
tetradic
#D42331 #89D423 #23D4C6 #6D23D4
square
#D42331 #89D423 #23D4C6 #6D23D4
split-complementary
#D42331 #23D46D #2389D4
monochromatic
#6B1219 #9F1A25 #D42331 #E2525D #EB868E

Accessibility & contrast

On white

5.14
#D42331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#D42331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42331
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42331#FFFFFF#000000##FFFFFF
##D423311.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552F
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#EA002B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #d42331;
/* rgb */ color: rgb(212, 35, 49);
/* oklch */ color: oklch(56.2% 0.209 24.1);
Tailwind
colors: {
  custom: {
    50: '#eb7269',
    500: '#d42331',
    950: '#000000',
  },
}
SCSS
$custom: #d42331;
$custom-light: #eb7269;
$custom-dark: #000000;
JSON
{
  "hex": "#d42331",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 355.254,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56186,
    "c": 0.20873,
    "h": 24.1
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#D42331
secondary
#7ED4CE
accent
#EEE039
background
#FFF7F6
surface
#FFEDEB
border
#D7C8C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #D42331

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

Preview Lab → · Contrast checker → · Palette generator →

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