#D42528#D42528

#D42528 is a mid, highly saturated red. Relative luminance 0.155; OKLCH L 56.2% C 0.208 H 26.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#D42528
RGBrgb(212, 37, 40)
HSLhsl(359, 70%, 49%)
HSVhsv(359, 83%, 83%)
CMYKcmyk(0%, 82.5%, 81.1%, 16.9%)
CIE-LABlab(46.28, 65.02, 43.73)
CIE-LCHlch(46.28, 78.36, 33.92°)
OKLaboklab(56.21% 0.1864 0.0933)
OKLCHoklch(56.21% 0.208 26.6)
XYZxyz(28.1995, 15.4780, 3.5099)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42528 #25D4D1
analogous
#D42580 #D42528 #D47925
triadic
#D42528 #28D425 #2528D4
tetradic
#D42528 #80D425 #25D4D1 #7925D4
square
#D42528 #80D425 #25D4D1 #7925D4
split-complementary
#D42528 #25D479 #2580D4
monochromatic
#6C1314 #A01C1E #D42528 #E15557 #EA898B

Accessibility & contrast

On white

5.13
#D42528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#D42528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42528
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42528#FFFFFF#000000##FFFFFF
##D425281.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5625
Deuteranopia (green-blind)
#8A7B1F
Tritanopia (blue-blind)
#EA0029
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d42528;
/* rgb */ color: rgb(212, 37, 40);
/* oklch */ color: oklch(56.2% 0.208 26.6);
Tailwind
colors: {
  custom: {
    50: '#ec7363',
    500: '#d42528',
    950: '#000000',
  },
}
SCSS
$custom: #d42528;
$custom-light: #ec7363;
$custom-dark: #000000;
JSON
{
  "hex": "#d42528",
  "rgb": {
    "r": 212,
    "g": 37,
    "b": 40
  },
  "hsl": {
    "h": 358.971,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.20841,
    "h": 26.6
  },
  "luminance": 0.15473
}

Semantic roles & 50–950 ramp

primary
#D42528
secondary
#81D4D3
accent
#EDEA3B
background
#FFF7F6
surface
#FFEDEB
border
#D7C8C6
text
#190905
muted
#867B7A

Preview Lab

Preview with #D42528

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

Preview Lab → · Contrast checker → · Palette generator →

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