#9D1D23#9D1D23

#9D1D23 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.163 H 24.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9D1D23
RGBrgb(157, 29, 35)
HSLhsl(357, 69%, 36%)
HSVhsv(357, 82%, 62%)
CMYKcmyk(0%, 81.5%, 77.7%, 38.4%)
CIE-LABlab(34.34, 51.11, 30.74)
CIE-LCHlch(34.34, 59.65, 31.03°)
OKLaboklab(45.37% 0.148 0.0681)
OKLCHoklch(45.37% 0.163 24.7)
XYZxyz(14.6491, 8.1705, 2.3955)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D23 #1D9D97
analogous
#9D1D63 #9D1D23 #9D571D
triadic
#9D1D23 #239D1D #1D239D
tetradic
#9D1D23 #639D1D #1D9D97 #571D9D
square
#9D1D23 #639D1D #1D9D97 #571D9D
split-complementary
#9D1D23 #1D9D57 #1D639D
monochromatic
#360A0C #691317 #9D1D23 #D1272F #E0555B

Accessibility & contrast

On white

7.97
#9D1D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9D1D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D23
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D23#FFFFFF#000000##FFFFFF
##9D1D231.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F22
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#AD0021
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1d23;
/* rgb */ color: rgb(157, 29, 35);
/* oklch */ color: oklch(45.4% 0.163 24.7);
Tailwind
colors: {
  custom: {
    50: '#c3675e',
    500: '#9d1d23',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d23;
$custom-light: #c3675e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d23",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 35
  },
  "hsl": {
    "h": 357.188,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45374,
    "c": 0.16292,
    "h": 24.7
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#9D1D23
secondary
#53C3BE
accent
#ECE33C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D1D23

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

Preview Lab → · Contrast checker → · Palette generator →

#9D1D23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva