#D42323#D42323

#D42323 is a mid, highly saturated red. Relative luminance 0.153; OKLCH L 56.0% C 0.210 H 27.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D42323
RGBrgb(212, 35, 35)
HSLhsl(0, 72%, 48%)
HSVhsv(0, 83%, 83%)
CMYKcmyk(0%, 83.5%, 83.5%, 16.9%)
CIE-LABlab(46.08, 65.36, 46.15)
CIE-LCHlch(46.08, 80.01, 35.23°)
OKLaboklab(56.04% 0.1865 0.0967)
OKLCHoklch(56.04% 0.21 27.4)
XYZxyz(28.0594, 15.3251, 3.0704)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42323 #23D4D4
analogous
#D4237B #D42323 #D47B23
triadic
#D42323 #23D423 #2323D4
tetradic
#D42323 #7BD423 #23D4D4 #7B23D4
square
#D42323 #7BD423 #23D4D4 #7B23D4
split-complementary
#D42323 #23D47B #237BD4
monochromatic
#6B1212 #9F1A1A #D42323 #E25252 #EB8686

Accessibility & contrast

On white

5.17
#D42323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#D42323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42323
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42323#FFFFFF#000000##FFFFFF
##D423231.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5520
Deuteranopia (green-blind)
#8A7B18
Tritanopia (blue-blind)
#EA0027
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #d42323;
/* rgb */ color: rgb(212, 35, 35);
/* oklch */ color: oklch(56.0% 0.210 27.4);
Tailwind
colors: {
  custom: {
    50: '#ec7260',
    500: '#d42323',
    950: '#000000',
  },
}
SCSS
$custom: #d42323;
$custom-light: #ec7260;
$custom-dark: #000000;
JSON
{
  "hex": "#d42323",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 35
  },
  "hsl": {
    "h": 0,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56043,
    "c": 0.21006,
    "h": 27.4
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#D42323
secondary
#7ED4D4
accent
#EEEE39
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190905
muted
#867B79

Preview Lab

Preview with #D42323

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

Preview Lab → · Contrast checker → · Palette generator →

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