#D5211F#D5211F

#D5211F is a mid, highly saturated red. Relative luminance 0.153; OKLCH L 56.1% C 0.212 H 28.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D5211F
RGBrgb(213, 33, 31)
HSLhsl(1, 75%, 48%)
HSVhsv(1, 85%, 84%)
CMYKcmyk(0%, 84.5%, 85.4%, 16.5%)
CIE-LABlab(46.09, 65.98, 48.24)
CIE-LCHlch(46.09, 81.73, 36.17°)
OKLaboklab(56.08% 0.1876 0.0996)
OKLCHoklch(56.08% 0.212 28)
XYZxyz(28.2354, 15.3375, 2.7698)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5211F #1FD3D5
analogous
#D51F78 #D5211F #D57C1F
triadic
#D5211F #1FD521 #211FD5
tetradic
#D5211F #78D51F #1FD3D5 #7C1FD5
square
#D5211F #78D51F #1FD3D5 #7C1FD5
split-complementary
#D5211F #1FD57C #1F78D5
monochromatic
#6A100F #A01917 #D5211F #E54E4C #ED8382

Accessibility & contrast

On white

5.16
#D5211F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#D5211F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D5211F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5211F#FFFFFF#000000##FFFFFF
##D5211F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F541B
Deuteranopia (green-blind)
#8A7B12
Tritanopia (blue-blind)
#EB0024
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #d5211f;
/* rgb */ color: rgb(213, 33, 31);
/* oklch */ color: oklch(56.1% 0.212 28.0);
Tailwind
colors: {
  custom: {
    50: '#ed715d',
    500: '#d5211f',
    950: '#000000',
  },
}
SCSS
$custom: #d5211f;
$custom-light: #ed715d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5211f",
  "rgb": {
    "r": 213,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 0.659,
    "s": 74.59,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5608,
    "c": 0.21241,
    "h": 28
  },
  "luminance": 0.15333
}

Semantic roles & 50–950 ramp

primary
#D5211F
secondary
#7AD4D5
accent
#EFF137
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190904
muted
#867B79

Preview Lab

Preview with #D5211F

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

Preview Lab → · Contrast checker → · Palette generator →

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