#9F2417#9F2417

#9F2417 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.161 H 30.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9F2417
RGBrgb(159, 36, 23)
HSLhsl(6, 75%, 36%)
HSVhsv(6, 86%, 62%)
CMYKcmyk(0%, 77.4%, 85.5%, 37.6%)
CIE-LABlab(35.39, 49.19, 38.67)
CIE-LCHlch(35.39, 62.57, 38.18°)
OKLaboklab(46.2% 0.1392 0.0811)
OKLCHoklch(46.2% 0.161 30.2)
XYZxyz(15.0855, 8.6970, 1.6948)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2417 #17929F
analogous
#9F174E #9F2417 #9F6817
triadic
#9F2417 #179F24 #24179F
tetradic
#9F2417 #4E9F17 #17929F #68179F
square
#9F2417 #4E9F17 #17929F #68179F
split-complementary
#9F2417 #179F68 #174E9F
monochromatic
#340C08 #6A180F #9F2417 #D4301F #E55A4B

Accessibility & contrast

On white

7.67
#9F2417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F2417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2417
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2417#FFFFFF#000000##FFFFFF
##9F24171.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4214
Deuteranopia (green-blind)
#695D0F
Tritanopia (blue-blind)
#B00023
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2417;
/* rgb */ color: rgb(159, 36, 23);
/* oklch */ color: oklch(46.2% 0.161 30.2);
Tailwind
colors: {
  custom: {
    50: '#c56956',
    500: '#9f2417',
    950: '#000000',
  },
}
SCSS
$custom: #9f2417;
$custom-light: #c56956;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2417",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 5.735,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46195,
    "c": 0.16113,
    "h": 30.2
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#9F2417
secondary
#4BBBC7
accent
#DFF136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F2417

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

Preview Lab → · Contrast checker → · Palette generator →

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