#9E1D2B#9E1D2B

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

Color values

HEX#9E1D2B
RGBrgb(158, 29, 43)
HSLhsl(353, 69%, 37%)
HSVhsv(353, 82%, 62%)
CMYKcmyk(0%, 81.6%, 72.8%, 38%)
CIE-LABlab(34.65, 51.75, 26.24)
CIE-LCHlch(34.65, 58.02, 26.88°)
OKLaboklab(45.68% 0.1517 0.0601)
OKLCHoklch(45.68% 0.163 21.6)
XYZxyz(14.9777, 8.3246, 3.1032)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D2B #1D9E90
analogous
#9E1D6C #9E1D2B #9E4F1D
triadic
#9E1D2B #2B9E1D #1D2B9E
tetradic
#9E1D2B #6C9E1D #1D9E90 #4F1D9E
square
#9E1D2B #6C9E1D #1D9E90 #4F1D9E
split-complementary
#9E1D2B #1D9E4F #1D6C9E
monochromatic
#370A0F #6A141D #9E1D2B #D22639 #E05665

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1D2B#FFFFFF#000000##FFFFFF
##9E1D2B1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402A
Deuteranopia (green-blind)
#655B27
Tritanopia (blue-blind)
#AE0024
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1d2b;
/* rgb */ color: rgb(158, 29, 43);
/* oklch */ color: oklch(45.7% 0.163 21.6);
Tailwind
colors: {
  custom: {
    50: '#c36764',
    500: '#9e1d2b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d2b;
$custom-light: #c36764;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d2b",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 353.488,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45678,
    "c": 0.16319,
    "h": 21.6
  },
  "luminance": 0.08322
}

Semantic roles & 50–950 ramp

primary
#9E1D2B
secondary
#54C3B7
accent
#ECD93C
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9E1D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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