#D42627#D42627

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

Color values

HEX#D42627
RGBrgb(212, 38, 39)
HSLhsl(360, 70%, 49%)
HSVhsv(360, 82%, 83%)
CMYKcmyk(0%, 82.1%, 81.6%, 16.9%)
CIE-LABlab(46.36, 64.76, 44.34)
CIE-LCHlch(46.36, 78.48, 34.40°)
OKLaboklab(56.26% 0.1853 0.0943)
OKLCHoklch(56.26% 0.208 27)
XYZxyz(28.2142, 15.5344, 3.4319)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42627 #26D4D3
analogous
#D4267E #D42627 #D47C26
triadic
#D42627 #27D426 #2627D4
tetradic
#D42627 #7ED426 #26D4D3 #7C26D4
square
#D42627 #7ED426 #26D4D3 #7C26D4
split-complementary
#D42627 #26D47C #267ED4
monochromatic
#6C1314 #A01D1D #D42627 #E15657 #EA8A8B

Accessibility & contrast

On white

5.11
#D42627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#D42627 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42627
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42627#FFFFFF#000000##FFFFFF
##D426271.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d42627;
/* rgb */ color: rgb(212, 38, 39);
/* oklch */ color: oklch(56.3% 0.208 27.0);
Tailwind
colors: {
  custom: {
    50: '#ec7363',
    500: '#d42627',
    950: '#000000',
  },
}
SCSS
$custom: #d42627;
$custom-light: #ec7363;
$custom-dark: #000000;
JSON
{
  "hex": "#d42627",
  "rgb": {
    "r": 212,
    "g": 38,
    "b": 39
  },
  "hsl": {
    "h": 359.655,
    "s": 69.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56262,
    "c": 0.20793,
    "h": 27
  },
  "luminance": 0.1553
}

Semantic roles & 50–950 ramp

primary
#D42627
secondary
#82D4D3
accent
#ECEB3B
background
#FFF7F5
surface
#FFEDEA
border
#D7C8C6
text
#190905
muted
#867B79

Preview Lab

Preview with #D42627

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

Preview Lab → · Contrast checker → · Palette generator →

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