#9E1F1B#9E1F1B

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

Color values

HEX#9E1F1B
RGBrgb(158, 31, 27)
HSLhsl(2, 71%, 36%)
HSVhsv(2, 83%, 62%)
CMYKcmyk(0%, 80.4%, 82.9%, 38%)
CIE-LABlab(34.66, 50.56, 35.79)
CIE-LCHlch(34.66, 61.95, 35.29°)
OKLaboklab(45.63% 0.1444 0.0764)
OKLCHoklch(45.63% 0.163 27.9)
XYZxyz(14.7902, 8.3306, 1.8659)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F1B #1B9A9E
analogous
#9E1B59 #9E1F1B #9E611B
triadic
#9E1F1B #1B9E1F #1F1B9E
tetradic
#9E1F1B #599E1B #1B9A9E #611B9E
square
#9E1F1B #599E1B #1B9A9E #611B9E
split-complementary
#9E1F1B #1B9E61 #1B599E
monochromatic
#350A09 #6A1512 #9E1F1B #D22924 #E15652

Accessibility & contrast

On white

7.88
#9E1F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9E1F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F1B
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F1B#FFFFFF#000000##FFFFFF
##9E1F1B1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484019
Deuteranopia (green-blind)
#675B14
Tritanopia (blue-blind)
#AF0020
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1f1b;
/* rgb */ color: rgb(158, 31, 27);
/* oklch */ color: oklch(45.6% 0.163 27.9);
Tailwind
colors: {
  custom: {
    50: '#c46758',
    500: '#9e1f1b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f1b;
$custom-light: #c46758;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f1b",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 27
  },
  "hsl": {
    "h": 1.832,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45625,
    "c": 0.16338,
    "h": 27.9
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#9E1F1B
secondary
#51C1C4
accent
#E8EE3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E1F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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