#9F201B#9F201B

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

Color values

HEX#9F201B
RGBrgb(159, 32, 27)
HSLhsl(2, 71%, 36%)
HSVhsv(2, 83%, 62%)
CMYKcmyk(0%, 79.9%, 83%, 37.6%)
CIE-LABlab(34.97, 50.57, 36.16)
CIE-LCHlch(34.97, 62.17, 35.56°)
OKLaboklab(45.89% 0.1443 0.0771)
OKLCHoklch(45.89% 0.164 28.1)
XYZxyz(15.0143, 8.4855, 1.8840)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F201B #1B9A9F
analogous
#9F1B58 #9F201B #9F621B
triadic
#9F201B #1B9F20 #201B9F
tetradic
#9F201B #589F1B #1B9A9F #621B9F
square
#9F201B #589F1B #1B9A9F #621B9F
split-complementary
#9F201B #1B9F62 #1B589F
monochromatic
#360B09 #6B1512 #9F201B #D32B24 #E25853

Accessibility & contrast

On white

7.79
#9F201B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F201B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F201B#FFFFFF#000000##FFFFFF
##9F201B1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494119
Deuteranopia (green-blind)
#685C14
Tritanopia (blue-blind)
#B00021
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f201b;
/* rgb */ color: rgb(159, 32, 27);
/* oklch */ color: oklch(45.9% 0.164 28.1);
Tailwind
colors: {
  custom: {
    50: '#c56859',
    500: '#9f201b',
    950: '#000000',
  },
}
SCSS
$custom: #9f201b;
$custom-light: #c56859;
$custom-dark: #000000;
JSON
{
  "hex": "#9f201b",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 27
  },
  "hsl": {
    "h": 2.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45894,
    "c": 0.16363,
    "h": 28.1
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#9F201B
secondary
#51C0C5
accent
#E7EE3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F201B

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

Preview Lab → · Contrast checker → · Palette generator →

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