#9F2617#9F2617

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

Color values

HEX#9F2617
RGBrgb(159, 38, 23)
HSLhsl(7, 75%, 36%)
HSVhsv(7, 86%, 62%)
CMYKcmyk(0%, 76.1%, 85.5%, 37.6%)
CIE-LABlab(35.64, 48.51, 38.89)
CIE-LCHlch(35.64, 62.17, 38.72°)
OKLaboklab(46.38% 0.1371 0.0816)
OKLCHoklch(46.38% 0.16 30.8)
XYZxyz(15.1477, 8.8214, 1.7156)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2617 #17909F
analogous
#9F174C #9F2617 #9F6A17
triadic
#9F2617 #179F26 #26179F
tetradic
#9F2617 #4C9F17 #17909F #6A179F
square
#9F2617 #4C9F17 #17909F #6A179F
split-complementary
#9F2617 #179F6A #174C9F
monochromatic
#340C08 #6A190F #9F2617 #D4331F #E55C4B

Accessibility & contrast

On white

7.60
#9F2617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9F2617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2617
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2617#FFFFFF#000000##FFFFFF
##9F26171.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#695D10
Tritanopia (blue-blind)
#B00024
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2617;
/* rgb */ color: rgb(159, 38, 23);
/* oklch */ color: oklch(46.4% 0.160 30.8);
Tailwind
colors: {
  custom: {
    50: '#c56a56',
    500: '#9f2617',
    950: '#000000',
  },
}
SCSS
$custom: #9f2617;
$custom-light: #c56a56;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2617",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 23
  },
  "hsl": {
    "h": 6.618,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46377,
    "c": 0.15955,
    "h": 30.8
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#9F2617
secondary
#4BB9C7
accent
#DDF136
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F2617

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

Preview Lab → · Contrast checker → · Palette generator →

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