#9F1617#9F1617

#9F1617 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.2% C 0.171 H 27.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9F1617
RGBrgb(159, 22, 23)
HSLhsl(360, 76%, 35%)
HSVhsv(360, 86%, 62%)
CMYKcmyk(0%, 86.2%, 85.5%, 37.6%)
CIE-LABlab(34.00, 53.12, 37.43)
CIE-LCHlch(34.00, 64.98, 35.17°)
OKLaboklab(45.16% 0.1515 0.0782)
OKLCHoklch(45.16% 0.171 27.3)
XYZxyz(14.7415, 8.0091, 1.5802)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1617 #169F9E
analogous
#9F165B #9F1617 #9F5916
triadic
#9F1617 #179F16 #16179F
tetradic
#9F1617 #5B9F16 #169F9E #59169F
square
#9F1617 #5B9F16 #169F9E #59169F
split-complementary
#9F1617 #169F59 #165B9F
monochromatic
#330707 #690F0F #9F1617 #D51D1F #E64A4B

Accessibility & contrast

On white

8.07
#9F1617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#9F1617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1617
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1617#FFFFFF#000000##FFFFFF
##9F16171.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D15
Deuteranopia (green-blind)
#665A0E
Tritanopia (blue-blind)
#B00019
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9f1617;
/* rgb */ color: rgb(159, 22, 23);
/* oklch */ color: oklch(45.2% 0.171 27.3);
Tailwind
colors: {
  custom: {
    50: '#c56456',
    500: '#9f1617',
    950: '#000000',
  },
}
SCSS
$custom: #9f1617;
$custom-light: #c56456;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1617",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 23
  },
  "hsl": {
    "h": 359.562,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45161,
    "c": 0.17055,
    "h": 27.3
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#9F1617
secondary
#4AC7C6
accent
#F2F136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9F1617

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

Preview Lab → · Contrast checker → · Palette generator →

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