#D42D23#D42D23

#D42D23 is a mid, highly saturated red. Relative luminance 0.160; OKLCH L 56.7% C 0.204 H 28.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D42D23
RGBrgb(212, 45, 35)
HSLhsl(3, 72%, 48%)
HSVhsv(3, 83%, 83%)
CMYKcmyk(0%, 78.8%, 83.5%, 16.9%)
CIE-LABlab(46.97, 62.82, 46.97)
CIE-LCHlch(46.97, 78.43, 36.78°)
OKLaboklab(56.71% 0.1785 0.0986)
OKLCHoklch(56.71% 0.204 28.9)
XYZxyz(28.3967, 15.9998, 3.1829)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42D23 #23CAD4
analogous
#D42371 #D42D23 #D48523
triadic
#D42D23 #23D42D #2D23D4
tetradic
#D42D23 #71D423 #23CAD4 #8523D4
square
#D42D23 #71D423 #23CAD4 #8523D4
split-complementary
#D42D23 #23D485 #2371D4
monochromatic
#6B1712 #9F221A #D42D23 #E25A52 #EB8C86

Accessibility & contrast

On white

5.00
#D42D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#D42D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42D23
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42D23#FFFFFF#000000##FFFFFF
##D42D231.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581F
Deuteranopia (green-blind)
#8C7C19
Tritanopia (blue-blind)
#EA002D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d42d23;
/* rgb */ color: rgb(212, 45, 35);
/* oklch */ color: oklch(56.7% 0.204 28.9);
Tailwind
colors: {
  custom: {
    50: '#ec7560',
    500: '#d42d23',
    950: '#000000',
  },
}
SCSS
$custom: #d42d23;
$custom-light: #ec7560;
$custom-dark: #000000;
JSON
{
  "hex": "#d42d23",
  "rgb": {
    "r": 212,
    "g": 45,
    "b": 35
  },
  "hsl": {
    "h": 3.39,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56709,
    "c": 0.20391,
    "h": 28.9
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

primary
#D42D23
secondary
#7ECFD4
accent
#E4EE39
background
#FFF7F5
surface
#FFEEEA
border
#D7C9C6
text
#190905
muted
#867B79

Preview Lab

Preview with #D42D23

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

Preview Lab → · Contrast checker → · Palette generator →

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