#9E2A17#9E2A17

#9E2A17 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.6% C 0.155 H 32.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9E2A17
RGBrgb(158, 42, 23)
HSLhsl(8, 75%, 35%)
HSVhsv(8, 85%, 62%)
CMYKcmyk(0%, 73.4%, 85.4%, 38%)
CIE-LABlab(35.96, 46.73, 39.11)
CIE-LCHlch(35.96, 60.93, 39.93°)
OKLaboklab(46.59% 0.1317 0.0822)
OKLCHoklch(46.59% 0.155 32)
XYZxyz(15.0850, 8.9893, 1.7513)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A17 #178B9E
analogous
#9E1748 #9E2A17 #9E6D17
triadic
#9E2A17 #179E2A #2A179E
tetradic
#9E2A17 #489E17 #178B9E #6D179E
square
#9E2A17 #489E17 #178B9E #6D179E
split-complementary
#9E2A17 #179E6D #17489E
monochromatic
#330E07 #691C0F #9E2A17 #D3381F #E5604B

Accessibility & contrast

On white

7.51
#9E2A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9E2A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A17
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A17#FFFFFF#000000##FFFFFF
##9E2A171.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4413
Deuteranopia (green-blind)
#6A5E10
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2a17;
/* rgb */ color: rgb(158, 42, 23);
/* oklch */ color: oklch(46.6% 0.155 32.0);
Tailwind
colors: {
  custom: {
    50: '#c46c56',
    500: '#9e2a17',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a17;
$custom-light: #c46c56;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a17",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 8.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46585,
    "c": 0.15524,
    "h": 32
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#9E2A17
secondary
#4AB5C6
accent
#D7F137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9E2A17

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

Preview Lab → · Contrast checker → · Palette generator →

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