#9F2117#9F2117

#9F2117 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.163 H 29.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9F2117
RGBrgb(159, 33, 23)
HSLhsl(4, 75%, 36%)
HSVhsv(4, 86%, 62%)
CMYKcmyk(0%, 79.2%, 85.5%, 37.6%)
CIE-LABlab(35.05, 50.15, 38.37)
CIE-LCHlch(35.05, 63.15, 37.41°)
OKLaboklab(45.94% 0.1423 0.0804)
OKLCHoklch(45.94% 0.163 29.5)
XYZxyz(14.9985, 8.5229, 1.6658)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2117 #17959F
analogous
#9F1751 #9F2117 #9F6517
triadic
#9F2117 #179F21 #21179F
tetradic
#9F2117 #519F17 #17959F #65179F
square
#9F2117 #519F17 #17959F #65179F
split-complementary
#9F2117 #179F65 #17519F
monochromatic
#340B08 #6A160F #9F2117 #D42C1F #E5574B

Accessibility & contrast

On white

7.77
#9F2117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9F2117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2117
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2117#FFFFFF#000000##FFFFFF
##9F21171.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494114
Deuteranopia (green-blind)
#685C0F
Tritanopia (blue-blind)
#B00020
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f2117;
/* rgb */ color: rgb(159, 33, 23);
/* oklch */ color: oklch(45.9% 0.163 29.5);
Tailwind
colors: {
  custom: {
    50: '#c56856',
    500: '#9f2117',
    950: '#000000',
  },
}
SCSS
$custom: #9f2117;
$custom-light: #c56856;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2117",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 4.412,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45938,
    "c": 0.1634,
    "h": 29.5
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#9F2117
secondary
#4BBEC7
accent
#E4F136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F2117

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

Preview Lab → · Contrast checker → · Palette generator →

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