#9E1D2A#9E1D2A

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

Color values

HEX#9E1D2A
RGBrgb(158, 29, 42)
HSLhsl(354, 69%, 37%)
HSVhsv(354, 82%, 62%)
CMYKcmyk(0%, 81.6%, 73.4%, 38%)
CIE-LABlab(34.64, 51.70, 26.84)
CIE-LCHlch(34.64, 58.26, 27.44°)
OKLaboklab(45.66% 0.1514 0.0612)
OKLCHoklch(45.66% 0.163 22)
XYZxyz(14.9596, 8.3174, 3.0078)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D2A #1D9E91
analogous
#9E1D6B #9E1D2A #9E501D
triadic
#9E1D2A #2A9E1D #1D2A9E
tetradic
#9E1D2A #6B9E1D #1D9E91 #501D9E
square
#9E1D2A #6B9E1D #1D9E91 #501D9E
split-complementary
#9E1D2A #1D9E50 #1D6B9E
monochromatic
#370A0F #6A141C #9E1D2A #D22638 #E05663

Accessibility & contrast

On white

7.89
#9E1D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1D2A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D2A#FFFFFF#000000##FFFFFF
##9E1D2A1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454029
Deuteranopia (green-blind)
#655B25
Tritanopia (blue-blind)
#AE0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1d2a;
/* rgb */ color: rgb(158, 29, 42);
/* oklch */ color: oklch(45.7% 0.163 22.0);
Tailwind
colors: {
  custom: {
    50: '#c36763',
    500: '#9e1d2a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d2a;
$custom-light: #c36763;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d2a",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 353.953,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45662,
    "c": 0.16327,
    "h": 22
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#9E1D2A
secondary
#54C3B8
accent
#ECDA3C
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9E1D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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