#D51F20#D51F20

#D51F20 is a mid, highly saturated red. Relative luminance 0.152; OKLCH L 56.0% C 0.213 H 27.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D51F20
RGBrgb(213, 31, 32)
HSLhsl(360, 75%, 48%)
HSVhsv(360, 85%, 84%)
CMYKcmyk(0%, 85.4%, 85%, 16.5%)
CIE-LABlab(45.95, 66.42, 47.63)
CIE-LCHlch(45.95, 81.73, 35.64°)
OKLaboklab(55.98% 0.1892 0.0987)
OKLCHoklch(55.98% 0.213 27.5)
XYZxyz(28.1949, 15.2351, 2.8224)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D51F20 #1FD5D4
analogous
#D51F7B #D51F20 #D5791F
triadic
#D51F20 #20D51F #1F20D5
tetradic
#D51F20 #7BD51F #1FD5D4 #791FD5
square
#D51F20 #7BD51F #1FD5D4 #791FD5
split-complementary
#D51F20 #1FD579 #1F7BD5
monochromatic
#6A0F10 #A01718 #D51F20 #E54C4D #ED8282

Accessibility & contrast

On white

5.19
#D51F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#D51F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D51F20
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D51F20#FFFFFF#000000##FFFFFF
##D51F201.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E541D
Deuteranopia (green-blind)
#8A7A13
Tritanopia (blue-blind)
#EB0023
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #d51f20;
/* rgb */ color: rgb(213, 31, 32);
/* oklch */ color: oklch(56.0% 0.213 27.5);
Tailwind
colors: {
  custom: {
    50: '#ed715e',
    500: '#d51f20',
    950: '#000000',
  },
}
SCSS
$custom: #d51f20;
$custom-light: #ed715e;
$custom-dark: #000000;
JSON
{
  "hex": "#d51f20",
  "rgb": {
    "r": 213,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.67,
    "s": 74.59,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5598,
    "c": 0.21333,
    "h": 27.5
  },
  "luminance": 0.1523
}

Semantic roles & 50–950 ramp

primary
#D51F20
secondary
#7AD5D5
accent
#F1F037
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190904
muted
#867B79

Preview Lab

Preview with #D51F20

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

Preview Lab → · Contrast checker → · Palette generator →

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