#9E1D1D#9E1D1D

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

Color values

HEX#9E1D1D
RGBrgb(158, 29, 29)
HSLhsl(0, 69%, 37%)
HSVhsv(0, 82%, 62%)
CMYKcmyk(0%, 81.6%, 81.6%, 38%)
CIE-LABlab(34.48, 51.21, 34.48)
CIE-LCHlch(34.48, 61.73, 33.95°)
OKLaboklab(45.49% 0.1469 0.0742)
OKLCHoklch(45.49% 0.165 26.8)
XYZxyz(14.7635, 8.2389, 1.9751)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D1D #1D9E9E
analogous
#9E1D5E #9E1D1D #9E5E1D
triadic
#9E1D1D #1D9E1D #1D1D9E
tetradic
#9E1D1D #5E9E1D #1D9E9E #5E1D9E
square
#9E1D1D #5E9E1D #1D9E9E #5E1D9E
split-complementary
#9E1D1D #1D9E5E #1D5E9E
monochromatic
#370A0A #6A1414 #9E1D1D #D22626 #E05656

Accessibility & contrast

On white

7.93
#9E1D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9E1D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D1D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D1D#FFFFFF#000000##FFFFFF
##9E1D1D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F1B
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#AF001F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1d1d;
/* rgb */ color: rgb(158, 29, 29);
/* oklch */ color: oklch(45.5% 0.165 26.8);
Tailwind
colors: {
  custom: {
    50: '#c4675a',
    500: '#9e1d1d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d1d;
$custom-light: #c4675a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d1d",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 29
  },
  "hsl": {
    "h": 0,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.16455,
    "h": 26.8
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#9E1D1D
secondary
#54C3C3
accent
#ECEC3C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #9E1D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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