#D42823#D42823

#D42823 is a mid, highly saturated red. Relative luminance 0.156; OKLCH L 56.4% C 0.207 H 28.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D42823
RGBrgb(212, 40, 35)
HSLhsl(2, 72%, 48%)
HSVhsv(2, 83%, 83%)
CMYKcmyk(0%, 81.1%, 83.5%, 16.9%)
CIE-LABlab(46.50, 64.16, 46.54)
CIE-LCHlch(46.50, 79.26, 35.96°)
OKLaboklab(56.36% 0.1827 0.0976)
OKLCHoklch(56.36% 0.207 28.1)
XYZxyz(28.2171, 15.6406, 3.1230)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42823 #23CFD4
analogous
#D42376 #D42823 #D48023
triadic
#D42823 #23D428 #2823D4
tetradic
#D42823 #76D423 #23CFD4 #8023D4
square
#D42823 #76D423 #23CFD4 #8023D4
split-complementary
#D42823 #23D480 #2376D4
monochromatic
#6B1412 #9F1E1A #D42823 #E25652 #EB8986

Accessibility & contrast

On white

5.09
#D42823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#D42823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42823
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42823#FFFFFF#000000##FFFFFF
##D428231.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615620
Deuteranopia (green-blind)
#8B7B18
Tritanopia (blue-blind)
#EA002A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d42823;
/* rgb */ color: rgb(212, 40, 35);
/* oklch */ color: oklch(56.4% 0.207 28.1);
Tailwind
colors: {
  custom: {
    50: '#ec7360',
    500: '#d42823',
    950: '#000000',
  },
}
SCSS
$custom: #d42823;
$custom-light: #ec7360;
$custom-dark: #000000;
JSON
{
  "hex": "#d42823",
  "rgb": {
    "r": 212,
    "g": 40,
    "b": 35
  },
  "hsl": {
    "h": 1.695,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56356,
    "c": 0.20714,
    "h": 28.1
  },
  "luminance": 0.15636
}

Semantic roles & 50–950 ramp

primary
#D42823
secondary
#7ED2D4
accent
#E9EE39
background
#FFF7F5
surface
#FFEEE9
border
#D7C9C5
text
#190905
muted
#867B79

Preview Lab

Preview with #D42823

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

Preview Lab → · Contrast checker → · Palette generator →

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