#D42B23#D42B23

#D42B23 is a mid, highly saturated red. Relative luminance 0.158; OKLCH L 56.6% C 0.205 H 28.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D42B23
RGBrgb(212, 43, 35)
HSLhsl(3, 72%, 48%)
HSVhsv(3, 83%, 83%)
CMYKcmyk(0%, 79.7%, 83.5%, 16.9%)
CIE-LABlab(46.78, 63.37, 46.79)
CIE-LCHlch(46.78, 78.77, 36.44°)
OKLaboklab(56.56% 0.1802 0.0982)
OKLCHoklch(56.56% 0.205 28.6)
XYZxyz(28.3222, 15.8508, 3.1580)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42B23 #23CCD4
analogous
#D42373 #D42B23 #D48323
triadic
#D42B23 #23D42B #2B23D4
tetradic
#D42B23 #73D423 #23CCD4 #8323D4
square
#D42B23 #73D423 #23CCD4 #8323D4
split-complementary
#D42B23 #23D483 #2373D4
monochromatic
#6B1612 #9F201A #D42B23 #E25852 #EB8B86

Accessibility & contrast

On white

5.04
#D42B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#D42B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42B23
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42B23#FFFFFF#000000##FFFFFF
##D42B231.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d42b23;
/* rgb */ color: rgb(212, 43, 35);
/* oklch */ color: oklch(56.6% 0.205 28.6);
Tailwind
colors: {
  custom: {
    50: '#ec7560',
    500: '#d42b23',
    950: '#000000',
  },
}
SCSS
$custom: #d42b23;
$custom-light: #ec7560;
$custom-dark: #000000;
JSON
{
  "hex": "#d42b23",
  "rgb": {
    "r": 212,
    "g": 43,
    "b": 35
  },
  "hsl": {
    "h": 2.712,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56563,
    "c": 0.20524,
    "h": 28.6
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#D42B23
secondary
#7ED0D4
accent
#E6EE39
background
#FFF7F5
surface
#FFEEE9
border
#D7C9C5
text
#190905
muted
#867B79

Preview Lab

Preview with #D42B23

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

Preview Lab → · Contrast checker → · Palette generator →

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