#9F2517#9F2517

#9F2517 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.3% C 0.160 H 30.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9F2517
RGBrgb(159, 37, 23)
HSLhsl(6, 75%, 36%)
HSVhsv(6, 86%, 62%)
CMYKcmyk(0%, 76.7%, 85.5%, 37.6%)
CIE-LABlab(35.51, 48.85, 38.78)
CIE-LCHlch(35.51, 62.37, 38.44°)
OKLaboklab(46.29% 0.1382 0.0813)
OKLCHoklch(46.29% 0.16 30.5)
XYZxyz(15.1162, 8.7583, 1.7051)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2517 #17919F
analogous
#9F174D #9F2517 #9F6917
triadic
#9F2517 #179F25 #25179F
tetradic
#9F2517 #4D9F17 #17919F #69179F
square
#9F2517 #4D9F17 #17919F #69179F
split-complementary
#9F2517 #179F69 #174D9F
monochromatic
#340C08 #6A190F #9F2517 #D4311F #E55B4B

Accessibility & contrast

On white

7.63
#9F2517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F2517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2517
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2517#FFFFFF#000000##FFFFFF
##9F25171.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2517;
/* rgb */ color: rgb(159, 37, 23);
/* oklch */ color: oklch(46.3% 0.160 30.5);
Tailwind
colors: {
  custom: {
    50: '#c56a56',
    500: '#9f2517',
    950: '#000000',
  },
}
SCSS
$custom: #9f2517;
$custom-light: #c56a56;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2517",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 6.176,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46285,
    "c": 0.16035,
    "h": 30.5
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#9F2517
secondary
#4BBAC7
accent
#DEF136
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F2517

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

Preview Lab → · Contrast checker → · Palette generator →

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