#9E1E33#9E1E33

#9E1E33 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.162 H 18.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9E1E33
RGBrgb(158, 30, 51)
HSLhsl(350, 68%, 37%)
HSVhsv(350, 81%, 62%)
CMYKcmyk(0%, 81%, 67.7%, 38%)
CIE-LABlab(34.88, 51.87, 21.45)
CIE-LCHlch(34.88, 56.13, 22.47°)
OKLaboklab(45.89% 0.154 0.0507)
OKLCHoklch(45.89% 0.162 18.2)
XYZxyz(15.1641, 8.4390, 3.9618)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E33 #1E9E89
analogous
#9E1E73 #9E1E33 #9E491E
triadic
#9E1E33 #339E1E #1E339E
tetradic
#9E1E33 #739E1E #1E9E89 #491E9E
square
#9E1E33 #739E1E #1E9E89 #491E9E
split-complementary
#9E1E33 #1E9E49 #1E739E
monochromatic
#370A12 #6B1422 #9E1E33 #D12844 #DF576E

Accessibility & contrast

On white

7.81
#9E1E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9E1E33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E33
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E33#FFFFFF#000000##FFFFFF
##9E1E331.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454133
Deuteranopia (green-blind)
#655C2F
Tritanopia (blue-blind)
#AE0027
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1e33;
/* rgb */ color: rgb(158, 30, 51);
/* oklch */ color: oklch(45.9% 0.162 18.2);
Tailwind
colors: {
  custom: {
    50: '#c2686a',
    500: '#9e1e33',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e33;
$custom-light: #c2686a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e33",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 51
  },
  "hsl": {
    "h": 350.156,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45891,
    "c": 0.16209,
    "h": 18.2
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#9E1E33
secondary
#55C3B1
accent
#EBCE3D
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E1E33

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

Preview Lab → · Contrast checker → · Palette generator →

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