#9E1F33#9E1F33

#9E1F33 is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 18.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9E1F33
RGBrgb(158, 31, 51)
HSLhsl(351, 67%, 37%)
HSVhsv(351, 80%, 62%)
CMYKcmyk(0%, 80.4%, 67.7%, 38%)
CIE-LABlab(34.98, 51.58, 21.58)
CIE-LCHlch(34.98, 55.91, 22.71°)
OKLaboklab(45.97% 0.153 0.051)
OKLCHoklch(45.97% 0.161 18.4)
XYZxyz(15.1898, 8.4904, 3.9703)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F33 #1F9E8A
analogous
#9E1F73 #9E1F33 #9E4A1F
triadic
#9E1F33 #339E1F #1F339E
tetradic
#9E1F33 #739E1F #1F9E8A #4A1F9E
square
#9E1F33 #739E1F #1F9E8A #4A1F9E
split-complementary
#9E1F33 #1F9E4A #1F739E
monochromatic
#380B12 #6B1522 #9E1F33 #D12944 #DE596E

Accessibility & contrast

On white

7.78
#9E1F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9E1F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F33
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F33#FFFFFF#000000##FFFFFF
##9E1F331.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1f33;
/* rgb */ color: rgb(158, 31, 51);
/* oklch */ color: oklch(46.0% 0.161 18.4);
Tailwind
colors: {
  custom: {
    50: '#c2686a',
    500: '#9e1f33',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f33;
$custom-light: #c2686a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f33",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 350.551,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.16129,
    "h": 18.4
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#9E1F33
secondary
#56C2B1
accent
#EACF3E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E1F33

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

Preview Lab → · Contrast checker → · Palette generator →

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