#D42F23#D42F23

#D42F23 is a mid, highly saturated red. Relative luminance 0.162; OKLCH L 56.9% C 0.203 H 29.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D42F23
RGBrgb(212, 47, 35)
HSLhsl(4, 72%, 48%)
HSVhsv(4, 83%, 83%)
CMYKcmyk(0%, 77.8%, 83.5%, 16.9%)
CIE-LABlab(47.18, 62.24, 47.15)
CIE-LCHlch(47.18, 78.08, 37.15°)
OKLaboklab(56.86% 0.1767 0.099)
OKLCHoklch(56.86% 0.203 29.3)
XYZxyz(28.4748, 16.1560, 3.2089)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42F23 #23C8D4
analogous
#D4236F #D42F23 #D48723
triadic
#D42F23 #23D42F #2F23D4
tetradic
#D42F23 #6FD423 #23C8D4 #8723D4
square
#D42F23 #6FD423 #23C8D4 #8723D4
split-complementary
#D42F23 #23D487 #236FD4
monochromatic
#6B1812 #9F231A #D42F23 #E25C52 #EB8D86

Accessibility & contrast

On white

4.96
#D42F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#D42F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42F23
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42F23#FFFFFF#000000##FFFFFF
##D42F231.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591F
Deuteranopia (green-blind)
#8C7D19
Tritanopia (blue-blind)
#EA002F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #d42f23;
/* rgb */ color: rgb(212, 47, 35);
/* oklch */ color: oklch(56.9% 0.203 29.3);
Tailwind
colors: {
  custom: {
    50: '#ec7660',
    500: '#d42f23',
    950: '#000000',
  },
}
SCSS
$custom: #d42f23;
$custom-light: #ec7660;
$custom-dark: #000000;
JSON
{
  "hex": "#d42f23",
  "rgb": {
    "r": 212,
    "g": 47,
    "b": 35
  },
  "hsl": {
    "h": 4.068,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.20254,
    "h": 29.3
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#D42F23
secondary
#7ECFD4
accent
#E2EE39
background
#FFF7F5
surface
#FFEEEA
border
#D7C9C6
text
#190A05
muted
#867C79

Preview Lab

Preview with #D42F23

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

Preview Lab → · Contrast checker → · Palette generator →

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