#9E1B34#9E1B34

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

Color values

HEX#9E1B34
RGBrgb(158, 27, 52)
HSLhsl(349, 71%, 36%)
HSVhsv(349, 83%, 62%)
CMYKcmyk(0%, 82.9%, 67.1%, 38%)
CIE-LABlab(34.61, 52.75, 20.46)
CIE-LCHlch(34.61, 56.58, 21.20°)
OKLaboklab(45.69% 0.157 0.0486)
OKLCHoklch(45.69% 0.164 17.2)
XYZxyz(15.1140, 8.3033, 4.0550)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B34 #1B9E85
analogous
#9E1B76 #9E1B34 #9E441B
triadic
#9E1B34 #349E1B #1B349E
tetradic
#9E1B34 #769E1B #1B9E85 #441B9E
square
#9E1B34 #769E1B #1B9E85 #441B9E
split-complementary
#9E1B34 #1B9E44 #1B769E
monochromatic
#350912 #6A1223 #9E1B34 #D22445 #E1526D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1B34#FFFFFF#000000##FFFFFF
##9E1B341.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)
#434034
Deuteranopia (green-blind)
#645B30
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1b34;
/* rgb */ color: rgb(158, 27, 52);
/* oklch */ color: oklch(45.7% 0.164 17.2);
Tailwind
colors: {
  custom: {
    50: '#c2676b',
    500: '#9e1b34',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b34;
$custom-light: #c2676b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b34",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 52
  },
  "hsl": {
    "h": 348.55,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45694,
    "c": 0.16437,
    "h": 17.2
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#9E1B34
secondary
#51C4AE
accent
#EECB3A
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E1B34

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

Preview Lab → · Contrast checker → · Palette generator →

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