#9D1E23#9D1E23

#9D1E23 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.162 H 24.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9D1E23
RGBrgb(157, 30, 35)
HSLhsl(358, 68%, 37%)
HSVhsv(358, 81%, 62%)
CMYKcmyk(0%, 80.9%, 77.7%, 38.4%)
CIE-LABlab(34.44, 50.83, 30.86)
CIE-LCHlch(34.44, 59.46, 31.26°)
OKLaboklab(45.45% 0.1471 0.0683)
OKLCHoklch(45.45% 0.162 24.9)
XYZxyz(14.6740, 8.2203, 2.4038)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E23 #1E9D98
analogous
#9D1E63 #9D1E23 #9D591E
triadic
#9D1E23 #239D1E #1E239D
tetradic
#9D1E23 #639D1E #1E9D98 #591E9D
square
#9D1E23 #639D1E #1E9D98 #591E9D
split-complementary
#9D1E23 #1E9D59 #1E639D
monochromatic
#360A0C #6A1418 #9D1E23 #D0282E #DF575C

Accessibility & contrast

On white

7.94
#9D1E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9D1E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E23
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E23#FFFFFF#000000##FFFFFF
##9D1E231.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1e23;
/* rgb */ color: rgb(157, 30, 35);
/* oklch */ color: oklch(45.5% 0.162 24.9);
Tailwind
colors: {
  custom: {
    50: '#c3675e',
    500: '#9d1e23',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e23;
$custom-light: #c3675e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e23",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 35
  },
  "hsl": {
    "h": 357.638,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4545,
    "c": 0.16219,
    "h": 24.9
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#9D1E23
secondary
#54C2BE
accent
#EBE43D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D1E23

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

Preview Lab → · Contrast checker → · Palette generator →

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