#D42336#D42336

#D42336 is a mid, highly saturated red. Relative luminance 0.155; OKLCH L 56.2% C 0.208 H 22.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#D42336
RGBrgb(212, 35, 54)
HSLhsl(354, 72%, 48%)
HSVhsv(354, 83%, 83%)
CMYKcmyk(0%, 83.5%, 74.5%, 16.9%)
CIE-LABlab(46.27, 65.94, 35.85)
CIE-LCHlch(46.27, 75.06, 28.53°)
OKLaboklab(56.25% 0.1922 0.0803)
OKLCHoklch(56.25% 0.208 22.7)
XYZxyz(28.4217, 15.4701, 4.9788)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42336 #23D4C1
analogous
#D4238E #D42336 #D46823
triadic
#D42336 #36D423 #2336D4
tetradic
#D42336 #8ED423 #23D4C1 #6823D4
square
#D42336 #8ED423 #23D4C1 #6823D4
split-complementary
#D42336 #23D468 #238ED4
monochromatic
#6B121B #9F1A29 #D42336 #E25261 #EB8691

Accessibility & contrast

On white

5.13
#D42336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#D42336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42336
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42336#FFFFFF#000000##FFFFFF
##D423361.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5635
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#E9002D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d42336;
/* rgb */ color: rgb(212, 35, 54);
/* oklch */ color: oklch(56.2% 0.208 22.7);
Tailwind
colors: {
  custom: {
    50: '#eb726d',
    500: '#d42336',
    950: '#000000',
  },
}
SCSS
$custom: #d42336;
$custom-light: #eb726d;
$custom-dark: #000000;
JSON
{
  "hex": "#d42336",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 54
  },
  "hsl": {
    "h": 353.559,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56249,
    "c": 0.20832,
    "h": 22.7
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#D42336
secondary
#7ED4CB
accent
#EEDB39
background
#FFF7F6
surface
#FFEDEB
border
#D7C8C6
text
#180907
muted
#867B7A

Preview Lab

Preview with #D42336

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

Preview Lab → · Contrast checker → · Palette generator →

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