#9E1B2F#9E1B2F

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

Color values

HEX#9E1B2F
RGBrgb(158, 27, 47)
HSLhsl(351, 71%, 36%)
HSVhsv(351, 83%, 62%)
CMYKcmyk(0%, 82.9%, 70.3%, 38%)
CIE-LABlab(34.52, 52.49, 23.55)
CIE-LCHlch(34.52, 57.53, 24.17°)
OKLaboklab(45.6% 0.155 0.0549)
OKLCHoklch(45.6% 0.164 19.5)
XYZxyz(15.0073, 8.2606, 3.4930)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B2F #1B9E8A
analogous
#9E1B71 #9E1B2F #9E491B
triadic
#9E1B2F #2F9E1B #1B2F9E
tetradic
#9E1B2F #719E1B #1B9E8A #491B9E
square
#9E1B2F #719E1B #1B9E8A #491B9E
split-complementary
#9E1B2F #1B9E49 #1B719E
monochromatic
#350910 #6A121F #9E1B2F #D2243F #E15268

Accessibility & contrast

On white

7.92
#9E1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B2F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B2F#FFFFFF#000000##FFFFFF
##9E1B2F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44402F
Deuteranopia (green-blind)
#645B2B
Tritanopia (blue-blind)
#AE0024
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1b2f;
/* rgb */ color: rgb(158, 27, 47);
/* oklch */ color: oklch(45.6% 0.164 19.5);
Tailwind
colors: {
  custom: {
    50: '#c36667',
    500: '#9e1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b2f;
$custom-light: #c36667;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b2f",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 350.84,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.16445,
    "h": 19.5
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#9E1B2F
secondary
#51C4B3
accent
#EED23A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9E1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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