#D42A23#D42A23

#D42A23 is a mid, highly saturated red. Relative luminance 0.158; OKLCH L 56.5% C 0.206 H 28.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D42A23
RGBrgb(212, 42, 35)
HSLhsl(2, 72%, 48%)
HSVhsv(2, 83%, 83%)
CMYKcmyk(0%, 80.2%, 83.5%, 16.9%)
CIE-LABlab(46.68, 63.64, 46.70)
CIE-LCHlch(46.68, 78.94, 36.27°)
OKLaboklab(56.49% 0.1811 0.098)
OKLCHoklch(56.49% 0.206 28.4)
XYZxyz(28.2863, 15.7790, 3.1461)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42A23 #23CDD4
analogous
#D42374 #D42A23 #D48223
triadic
#D42A23 #23D42A #2A23D4
tetradic
#D42A23 #74D423 #23CDD4 #8223D4
square
#D42A23 #74D423 #23CDD4 #8223D4
split-complementary
#D42A23 #23D482 #2374D4
monochromatic
#6B1512 #9F201A #D42A23 #E25852 #EB8A86

Accessibility & contrast

On white

5.05
#D42A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#D42A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42A23
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42A23#FFFFFF#000000##FFFFFF
##D42A231.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62571F
Deuteranopia (green-blind)
#8B7C19
Tritanopia (blue-blind)
#EA002B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d42a23;
/* rgb */ color: rgb(212, 42, 35);
/* oklch */ color: oklch(56.5% 0.206 28.4);
Tailwind
colors: {
  custom: {
    50: '#ec7460',
    500: '#d42a23',
    950: '#000000',
  },
}
SCSS
$custom: #d42a23;
$custom-light: #ec7460;
$custom-dark: #000000;
JSON
{
  "hex": "#d42a23",
  "rgb": {
    "r": 212,
    "g": 42,
    "b": 35
  },
  "hsl": {
    "h": 2.373,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.20588,
    "h": 28.4
  },
  "luminance": 0.15774
}

Semantic roles & 50–950 ramp

primary
#D42A23
secondary
#7ED1D4
accent
#E7EE39
background
#FFF7F5
surface
#FFEEE9
border
#D7C9C5
text
#190905
muted
#867B79

Preview Lab

Preview with #D42A23

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

Preview Lab → · Contrast checker → · Palette generator →

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