#D42526#D42526

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

Color values

HEX#D42526
RGBrgb(212, 37, 38)
HSLhsl(360, 70%, 49%)
HSVhsv(360, 83%, 83%)
CMYKcmyk(0%, 82.5%, 82.1%, 16.9%)
CIE-LABlab(46.26, 64.97, 44.77)
CIE-LCHlch(46.26, 78.90, 34.57°)
OKLaboklab(56.19% 0.1858 0.0949)
OKLCHoklch(56.19% 0.209 27)
XYZxyz(28.1663, 15.4648, 3.3353)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42526 #25D4D3
analogous
#D4257E #D42526 #D47C25
triadic
#D42526 #26D425 #2526D4
tetradic
#D42526 #7ED425 #25D4D3 #7C25D4
square
#D42526 #7ED425 #25D4D3 #7C25D4
split-complementary
#D42526 #25D47C #257ED4
monochromatic
#6C1313 #A01C1D #D42526 #E15556 #EA898A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D42526#FFFFFF#000000##FFFFFF
##D425261.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)
#605523
Deuteranopia (green-blind)
#8A7B1C
Tritanopia (blue-blind)
#EA0029
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d42526;
/* rgb */ color: rgb(212, 37, 38);
/* oklch */ color: oklch(56.2% 0.209 27.0);
Tailwind
colors: {
  custom: {
    50: '#ec7362',
    500: '#d42526',
    950: '#000000',
  },
}
SCSS
$custom: #d42526;
$custom-light: #ec7362;
$custom-dark: #000000;
JSON
{
  "hex": "#d42526",
  "rgb": {
    "r": 212,
    "g": 37,
    "b": 38
  },
  "hsl": {
    "h": 359.657,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.20862,
    "h": 27
  },
  "luminance": 0.1546
}

Semantic roles & 50–950 ramp

primary
#D42526
secondary
#81D4D4
accent
#EDEC3B
background
#FFF7F5
surface
#FFEDEA
border
#D7C8C6
text
#190905
muted
#867B79

Preview Lab

Preview with #D42526

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

Preview Lab → · Contrast checker → · Palette generator →

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