#9E1B27#9E1B27

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

Color values

HEX#9E1B27
RGBrgb(158, 27, 39)
HSLhsl(355, 71%, 36%)
HSVhsv(355, 83%, 62%)
CMYKcmyk(0%, 82.9%, 75.3%, 38%)
CIE-LABlab(34.40, 52.12, 28.43)
CIE-LCHlch(34.40, 59.37, 28.61°)
OKLaboklab(45.47% 0.152 0.064)
OKLCHoklch(45.47% 0.165 22.8)
XYZxyz(14.8605, 8.2018, 2.7197)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B27 #1B9E92
analogous
#9E1B69 #9E1B27 #9E511B
triadic
#9E1B27 #279E1B #1B279E
tetradic
#9E1B27 #699E1B #1B9E92 #511B9E
square
#9E1B27 #699E1B #1B9E92 #511B9E
split-complementary
#9E1B27 #1B9E51 #1B699E
monochromatic
#35090D #6A121A #9E1B27 #D22434 #E1525F

Accessibility & contrast

On white

7.96
#9E1B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9E1B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B27
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B27#FFFFFF#000000##FFFFFF
##9E1B271.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F26
Deuteranopia (green-blind)
#655B22
Tritanopia (blue-blind)
#AE0021
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1b27;
/* rgb */ color: rgb(158, 27, 39);
/* oklch */ color: oklch(45.5% 0.165 22.8);
Tailwind
colors: {
  custom: {
    50: '#c36661',
    500: '#9e1b27',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b27;
$custom-light: #c36661;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b27",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 354.504,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45474,
    "c": 0.16492,
    "h": 22.8
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#9E1B27
secondary
#51C4BA
accent
#EEDD3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9E1B27

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

Preview Lab → · Contrast checker → · Palette generator →

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