#9F2017#9F2017

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

Color values

HEX#9F2017
RGBrgb(159, 32, 23)
HSLhsl(4, 75%, 36%)
HSVhsv(4, 86%, 62%)
CMYKcmyk(0%, 79.9%, 85.5%, 37.6%)
CIE-LABlab(34.94, 50.46, 38.27)
CIE-LCHlch(34.94, 63.33, 37.18°)
OKLaboklab(45.86% 0.1432 0.0802)
OKLCHoklch(45.86% 0.164 29.2)
XYZxyz(14.9711, 8.4683, 1.6567)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2017 #17969F
analogous
#9F1752 #9F2017 #9F6417
triadic
#9F2017 #179F20 #20179F
tetradic
#9F2017 #529F17 #17969F #64179F
square
#9F2017 #529F17 #17969F #64179F
split-complementary
#9F2017 #179F64 #17529F
monochromatic
#340A08 #6A150F #9F2017 #D42B1F #E5564B

Accessibility & contrast

On white

7.80
#9F2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2017
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2017#FFFFFF#000000##FFFFFF
##9F20171.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2017;
/* rgb */ color: rgb(159, 32, 23);
/* oklch */ color: oklch(45.9% 0.164 29.2);
Tailwind
colors: {
  custom: {
    50: '#c56856',
    500: '#9f2017',
    950: '#000000',
  },
}
SCSS
$custom: #9f2017;
$custom-light: #c56856;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2017",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 3.971,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.16413,
    "h": 29.2
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F2017

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

Preview Lab → · Contrast checker → · Palette generator →

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