#9E2017#9E2017

#9E2017 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.163 H 29.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9E2017
RGBrgb(158, 32, 23)
HSLhsl(4, 75%, 35%)
HSVhsv(4, 85%, 62%)
CMYKcmyk(0%, 79.7%, 85.4%, 38%)
CIE-LABlab(34.73, 50.15, 38.01)
CIE-LCHlch(34.73, 62.93, 37.16°)
OKLaboklab(45.67% 0.1424 0.0797)
OKLCHoklch(45.67% 0.163 29.2)
XYZxyz(14.7736, 8.3664, 1.6474)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2017 #17959E
analogous
#9E1751 #9E2017 #9E6317
triadic
#9E2017 #179E20 #20179E
tetradic
#9E2017 #519E17 #17959E #63179E
square
#9E2017 #519E17 #17959E #63179E
split-complementary
#9E2017 #179E63 #17519E
monochromatic
#330A07 #69150F #9E2017 #D32B1F #E5554B

Accessibility & contrast

On white

7.86
#9E2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9E2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2017
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2017#FFFFFF#000000##FFFFFF
##9E20171.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2017;
/* rgb */ color: rgb(158, 32, 23);
/* oklch */ color: oklch(45.7% 0.163 29.2);
Tailwind
colors: {
  custom: {
    50: '#c46856',
    500: '#9e2017',
    950: '#000000',
  },
}
SCSS
$custom: #9e2017;
$custom-light: #c46856;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2017",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 4,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45668,
    "c": 0.16315,
    "h": 29.2
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#9E2017
secondary
#4ABEC6
accent
#E5F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E2017

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

Preview Lab → · Contrast checker → · Palette generator →

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