#9D1A23#9D1A23

#9D1A23 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.2% C 0.165 H 24.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9D1A23
RGBrgb(157, 26, 35)
HSLhsl(356, 72%, 36%)
HSVhsv(356, 83%, 62%)
CMYKcmyk(0%, 83.4%, 77.7%, 38.4%)
CIE-LABlab(34.05, 51.93, 30.43)
CIE-LCHlch(34.05, 60.19, 30.37°)
OKLaboklab(45.16% 0.1506 0.0674)
OKLCHoklch(45.16% 0.165 24.1)
XYZxyz(14.5792, 8.0306, 2.3722)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A23 #1A9D94
analogous
#9D1A64 #9D1A23 #9D521A
triadic
#9D1A23 #239D1A #1A239D
tetradic
#9D1A23 #649D1A #1A9D94 #521A9D
square
#9D1A23 #649D1A #1A9D94 #521A9D
split-complementary
#9D1A23 #1A9D52 #1A649D
monochromatic
#34090C #681117 #9D1A23 #D2232F #E24F5A

Accessibility & contrast

On white

8.06
#9D1A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#9D1A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A23
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A23#FFFFFF#000000##FFFFFF
##9D1A231.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E22
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#AD001F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9d1a23;
/* rgb */ color: rgb(157, 26, 35);
/* oklch */ color: oklch(45.2% 0.165 24.1);
Tailwind
colors: {
  custom: {
    50: '#c3665e',
    500: '#9d1a23',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a23;
$custom-light: #c3665e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a23",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 355.878,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.16499,
    "h": 24.1
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#9D1A23
secondary
#4EC4BC
accent
#EEE239
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140604
muted
#837A79

Preview Lab

Preview with #9D1A23

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

Preview Lab → · Contrast checker → · Palette generator →

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