#9E1D17#9E1D17

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

Color values

HEX#9E1D17
RGBrgb(158, 29, 23)
HSLhsl(3, 75%, 35%)
HSVhsv(3, 85%, 62%)
CMYKcmyk(0%, 81.6%, 85.4%, 38%)
CIE-LABlab(34.42, 51.04, 37.72)
CIE-LCHlch(34.42, 63.46, 36.47°)
OKLaboklab(45.43% 0.1451 0.0791)
OKLCHoklch(45.43% 0.165 28.6)
XYZxyz(14.6964, 8.2121, 1.6217)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D17 #17989E
analogous
#9E1754 #9E1D17 #9E6117
triadic
#9E1D17 #179E1D #1D179E
tetradic
#9E1D17 #549E17 #17989E #61179E
square
#9E1D17 #549E17 #17989E #61179E
split-complementary
#9E1D17 #179E61 #17549E
monochromatic
#330907 #69130F #9E1D17 #D3271F #E5524B

Accessibility & contrast

On white

7.95
#9E1D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1D17
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D17#FFFFFF#000000##FFFFFF
##9E1D171.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F14
Deuteranopia (green-blind)
#665B0F
Tritanopia (blue-blind)
#AF001E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1d17;
/* rgb */ color: rgb(158, 29, 23);
/* oklch */ color: oklch(45.4% 0.165 28.6);
Tailwind
colors: {
  custom: {
    50: '#c46756',
    500: '#9e1d17',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d17;
$custom-light: #c46756;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d17",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 23
  },
  "hsl": {
    "h": 2.667,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.16525,
    "h": 28.6
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#9E1D17
secondary
#4AC1C6
accent
#E9F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E1D17

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

Preview Lab → · Contrast checker → · Palette generator →

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