#9F2317#9F2317

#9F2317 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.162 H 30.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9F2317
RGBrgb(159, 35, 23)
HSLhsl(5, 75%, 36%)
HSVhsv(5, 86%, 62%)
CMYKcmyk(0%, 78%, 85.5%, 37.6%)
CIE-LABlab(35.28, 49.52, 38.57)
CIE-LCHlch(35.28, 62.76, 37.92°)
OKLaboklab(46.11% 0.1403 0.0809)
OKLCHoklch(46.11% 0.162 30)
XYZxyz(15.0556, 8.6373, 1.6849)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2317 #17939F
analogous
#9F174F #9F2317 #9F6717
triadic
#9F2317 #179F23 #23179F
tetradic
#9F2317 #4F9F17 #17939F #67179F
square
#9F2317 #4F9F17 #17939F #67179F
split-complementary
#9F2317 #179F67 #174F9F
monochromatic
#340B08 #6A170F #9F2317 #D42F1F #E5594B

Accessibility & contrast

On white

7.70
#9F2317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F2317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2317
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2317#FFFFFF#000000##FFFFFF
##9F23171.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2317;
/* rgb */ color: rgb(159, 35, 23);
/* oklch */ color: oklch(46.1% 0.162 30.0);
Tailwind
colors: {
  custom: {
    50: '#c56956',
    500: '#9f2317',
    950: '#000000',
  },
}
SCSS
$custom: #9f2317;
$custom-light: #c56956;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2317",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 23
  },
  "hsl": {
    "h": 5.294,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46108,
    "c": 0.1619,
    "h": 30
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#9F2317
secondary
#4BBCC7
accent
#E1F136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F2317

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

Preview Lab → · Contrast checker → · Palette generator →

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