#9F2717#9F2717

#9F2717 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.5% C 0.159 H 31.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9F2717
RGBrgb(159, 39, 23)
HSLhsl(7, 75%, 36%)
HSVhsv(7, 86%, 62%)
CMYKcmyk(0%, 75.5%, 85.5%, 37.6%)
CIE-LABlab(35.76, 48.16, 39.00)
CIE-LCHlch(35.76, 61.97, 39.01°)
OKLaboklab(46.47% 0.136 0.0818)
OKLCHoklch(46.47% 0.159 31)
XYZxyz(15.1801, 8.8862, 1.7264)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2717 #178F9F
analogous
#9F174B #9F2717 #9F6B17
triadic
#9F2717 #179F27 #27179F
tetradic
#9F2717 #4B9F17 #178F9F #6B179F
square
#9F2717 #4B9F17 #178F9F #6B179F
split-complementary
#9F2717 #179F6B #174B9F
monochromatic
#340D08 #6A1A0F #9F2717 #D4341F #E55D4B

Accessibility & contrast

On white

7.56
#9F2717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F2717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2717
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2717#FFFFFF#000000##FFFFFF
##9F27171.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#6A5E10
Tritanopia (blue-blind)
#B00025
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2717;
/* rgb */ color: rgb(159, 39, 23);
/* oklch */ color: oklch(46.5% 0.159 31.0);
Tailwind
colors: {
  custom: {
    50: '#c56b56',
    500: '#9f2717',
    950: '#000000',
  },
}
SCSS
$custom: #9f2717;
$custom-light: #c56b56;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2717",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 7.059,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46472,
    "c": 0.15875,
    "h": 31
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#9F2717
secondary
#4BB8C7
accent
#DBF136
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F2717

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

Preview Lab → · Contrast checker → · Palette generator →

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