#D42E23#D42E23

#D42E23 is a mid, highly saturated red. Relative luminance 0.161; OKLCH L 56.8% C 0.203 H 29.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D42E23
RGBrgb(212, 46, 35)
HSLhsl(4, 72%, 48%)
HSVhsv(4, 83%, 83%)
CMYKcmyk(0%, 78.3%, 83.5%, 16.9%)
CIE-LABlab(47.08, 62.53, 47.06)
CIE-LCHlch(47.08, 78.26, 36.96°)
OKLaboklab(56.78% 0.1776 0.0988)
OKLCHoklch(56.78% 0.203 29.1)
XYZxyz(28.4353, 16.0770, 3.1958)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E23 #23C9D4
analogous
#D42370 #D42E23 #D48623
triadic
#D42E23 #23D42E #2E23D4
tetradic
#D42E23 #70D423 #23C9D4 #8623D4
square
#D42E23 #70D423 #23C9D4 #8623D4
split-complementary
#D42E23 #23D486 #2370D4
monochromatic
#6B1712 #9F231A #D42E23 #E25B52 #EB8D86

Accessibility & contrast

On white

4.98
#D42E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#D42E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42E23
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42E23#FFFFFF#000000##FFFFFF
##D42E231.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d42e23;
/* rgb */ color: rgb(212, 46, 35);
/* oklch */ color: oklch(56.8% 0.203 29.1);
Tailwind
colors: {
  custom: {
    50: '#ec7660',
    500: '#d42e23',
    950: '#000000',
  },
}
SCSS
$custom: #d42e23;
$custom-light: #ec7660;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e23",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 35
  },
  "hsl": {
    "h": 3.729,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.20324,
    "h": 29.1
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D42E23

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

Preview Lab → · Contrast checker → · Palette generator →

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