#9E2117#9E2117

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

Color values

HEX#9E2117
RGBrgb(158, 33, 23)
HSLhsl(4, 75%, 35%)
HSVhsv(4, 85%, 62%)
CMYKcmyk(0%, 79.1%, 85.4%, 38%)
CIE-LABlab(34.84, 49.84, 38.11)
CIE-LCHlch(34.84, 62.74, 37.40°)
OKLaboklab(45.75% 0.1414 0.0799)
OKLCHoklch(45.75% 0.162 29.5)
XYZxyz(14.8009, 8.4211, 1.6566)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2117 #17949E
analogous
#9E1751 #9E2117 #9E6417
triadic
#9E2117 #179E21 #21179E
tetradic
#9E2117 #519E17 #17949E #64179E
square
#9E2117 #519E17 #17949E #64179E
split-complementary
#9E2117 #179E64 #17519E
monochromatic
#330B07 #69160F #9E2117 #D32C1F #E5564B

Accessibility & contrast

On white

7.82
#9E2117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9E2117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2117
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2117#FFFFFF#000000##FFFFFF
##9E21171.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494014
Deuteranopia (green-blind)
#675C0F
Tritanopia (blue-blind)
#AF0020
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e2117;
/* rgb */ color: rgb(158, 33, 23);
/* oklch */ color: oklch(45.8% 0.162 29.5);
Tailwind
colors: {
  custom: {
    50: '#c46856',
    500: '#9e2117',
    950: '#000000',
  },
}
SCSS
$custom: #9e2117;
$custom-light: #c46856;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2117",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 4.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.16241,
    "h": 29.5
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#9E2117
secondary
#4ABDC6
accent
#E3F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E2117

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

Preview Lab → · Contrast checker → · Palette generator →

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