#D42527#D42527

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

Color values

HEX#D42527
RGBrgb(212, 37, 39)
HSLhsl(359, 70%, 49%)
HSVhsv(359, 83%, 83%)
CMYKcmyk(0%, 82.5%, 81.6%, 16.9%)
CIE-LABlab(46.27, 65.00, 44.26)
CIE-LCHlch(46.27, 78.63, 34.25°)
OKLaboklab(56.2% 0.1861 0.0941)
OKLCHoklch(56.2% 0.209 26.8)
XYZxyz(28.1827, 15.4713, 3.4214)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42527 #25D4D2
analogous
#D4257F #D42527 #D47B25
triadic
#D42527 #27D425 #2527D4
tetradic
#D42527 #7FD425 #25D4D2 #7B25D4
square
#D42527 #7FD425 #25D4D2 #7B25D4
split-complementary
#D42527 #25D47B #257FD4
monochromatic
#6C1314 #A01C1D #D42527 #E15556 #EA898A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D42527#FFFFFF#000000##FFFFFF
##D425271.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)
#5F5524
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#EA0029
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d42527;
/* rgb */ color: rgb(212, 37, 39);
/* oklch */ color: oklch(56.2% 0.209 26.8);
Tailwind
colors: {
  custom: {
    50: '#ec7363',
    500: '#d42527',
    950: '#000000',
  },
}
SCSS
$custom: #d42527;
$custom-light: #ec7363;
$custom-dark: #000000;
JSON
{
  "hex": "#d42527",
  "rgb": {
    "r": 212,
    "g": 37,
    "b": 39
  },
  "hsl": {
    "h": 359.314,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56199,
    "c": 0.20852,
    "h": 26.8
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#D42527
secondary
#81D4D3
accent
#EDEB3B
background
#FFF7F5
surface
#FFEDEA
border
#D7C8C6
text
#190905
muted
#867B79

Preview Lab

Preview with #D42527

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

Preview Lab → · Contrast checker → · Palette generator →

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