#9E1B33#9E1B33

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

Color values

HEX#9E1B33
RGBrgb(158, 27, 51)
HSLhsl(349, 71%, 36%)
HSVhsv(349, 83%, 62%)
CMYKcmyk(0%, 82.9%, 67.7%, 38%)
CIE-LABlab(34.59, 52.70, 21.08)
CIE-LCHlch(34.59, 56.76, 21.81°)
OKLaboklab(45.67% 0.1566 0.0499)
OKLCHoklch(45.67% 0.164 17.7)
XYZxyz(15.0917, 8.2943, 3.9376)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B33 #1B9E86
analogous
#9E1B75 #9E1B33 #9E451B
triadic
#9E1B33 #339E1B #1B339E
tetradic
#9E1B33 #759E1B #1B9E86 #451B9E
square
#9E1B33 #759E1B #1B9E86 #451B9E
split-complementary
#9E1B33 #1B9E45 #1B759E
monochromatic
#350911 #6A1222 #9E1B33 #D22444 #E1526C

Accessibility & contrast

On white

7.90
#9E1B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B33
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B33#FFFFFF#000000##FFFFFF
##9E1B331.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434033
Deuteranopia (green-blind)
#645B2F
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1b33;
/* rgb */ color: rgb(158, 27, 51);
/* oklch */ color: oklch(45.7% 0.164 17.7);
Tailwind
colors: {
  custom: {
    50: '#c2676a',
    500: '#9e1b33',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b33;
$custom-light: #c2676a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b33",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 51
  },
  "hsl": {
    "h": 349.008,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.16437,
    "h": 17.7
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#9E1B33
secondary
#51C4AF
accent
#EECD3A
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E1B33

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

Preview Lab → · Contrast checker → · Palette generator →

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