#9E1B31#9E1B31

#9E1B31 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.164 H 18.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9E1B31
RGBrgb(158, 27, 49)
HSLhsl(350, 71%, 36%)
HSVhsv(350, 83%, 62%)
CMYKcmyk(0%, 82.9%, 69%, 38%)
CIE-LABlab(34.55, 52.59, 22.32)
CIE-LCHlch(34.55, 57.13, 23.00°)
OKLaboklab(45.64% 0.1558 0.0524)
OKLCHoklch(45.64% 0.164 18.6)
XYZxyz(15.0486, 8.2771, 3.7104)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B31 #1B9E88
analogous
#9E1B73 #9E1B31 #9E471B
triadic
#9E1B31 #319E1B #1B319E
tetradic
#9E1B31 #739E1B #1B9E88 #471B9E
square
#9E1B31 #739E1B #1B9E88 #471B9E
split-complementary
#9E1B31 #1B9E47 #1B739E
monochromatic
#350911 #6A1221 #9E1B31 #D22441 #E1526A

Accessibility & contrast

On white

7.91
#9E1B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9E1B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B31
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B31#FFFFFF#000000##FFFFFF
##9E1B311.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444031
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1b31;
/* rgb */ color: rgb(158, 27, 49);
/* oklch */ color: oklch(45.6% 0.164 18.6);
Tailwind
colors: {
  custom: {
    50: '#c36668',
    500: '#9e1b31',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b31;
$custom-light: #c36668;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b31",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 349.924,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45637,
    "c": 0.16439,
    "h": 18.6
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#9E1B31
secondary
#51C4B1
accent
#EECF3A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9E1B31

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

Preview Lab → · Contrast checker → · Palette generator →

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