#D22F1F#D22F1F

#D22F1F is a mid, highly saturated red. Relative luminance 0.158; OKLCH L 56.5% C 0.201 H 30.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D22F1F
RGBrgb(210, 47, 31)
HSLhsl(5, 74%, 47%)
HSVhsv(5, 85%, 82%)
CMYKcmyk(0%, 77.6%, 85.2%, 17.6%)
CIE-LABlab(46.76, 61.56, 48.57)
CIE-LCHlch(46.76, 78.41, 38.27°)
OKLaboklab(56.47% 0.1741 0.1008)
OKLCHoklch(56.47% 0.201 30.1)
XYZxyz(27.8457, 15.8381, 2.8870)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22F1F #1FC2D2
analogous
#D21F69 #D22F1F #D2881F
triadic
#D22F1F #1FD22F #2F1FD2
tetradic
#D22F1F #69D21F #1FC2D2 #881FD2
square
#D22F1F #69D21F #1FC2D2 #881FD2
split-complementary
#D22F1F #1FD288 #1F69D2
monochromatic
#67170F #9D2317 #D22F1F #E4584A #EC897F

Accessibility & contrast

On white

5.04
#D22F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#D22F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D22F1F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22F1F#FFFFFF#000000##FFFFFF
##D22F1F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581A
Deuteranopia (green-blind)
#8B7C14
Tritanopia (blue-blind)
#E8002E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d22f1f;
/* rgb */ color: rgb(210, 47, 31);
/* oklch */ color: oklch(56.5% 0.201 30.1);
Tailwind
colors: {
  custom: {
    50: '#ea765e',
    500: '#d22f1f',
    950: '#000000',
  },
}
SCSS
$custom: #d22f1f;
$custom-light: #ea765e;
$custom-dark: #000000;
JSON
{
  "hex": "#d22f1f",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 5.363,
    "s": 74.274,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.20115,
    "h": 30.1
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#D22F1F
secondary
#78CCD4
accent
#E0F137
background
#FFF7F5
surface
#FFEEE9
border
#D7C9C5
text
#180904
muted
#867B79

Preview Lab

Preview with #D22F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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