#9F1B29#9F1B29

#9F1B29 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.166 H 22.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9F1B29
RGBrgb(159, 27, 41)
HSLhsl(354, 71%, 36%)
HSVhsv(354, 83%, 62%)
CMYKcmyk(0%, 83%, 74.2%, 37.6%)
CIE-LABlab(34.64, 52.50, 27.52)
CIE-LCHlch(34.64, 59.27, 27.66°)
OKLaboklab(45.69% 0.1535 0.0624)
OKLCHoklch(45.69% 0.166 22.1)
XYZxyz(15.0920, 8.3173, 2.9081)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B29 #1B9F91
analogous
#9F1B6B #9F1B29 #9F4F1B
triadic
#9F1B29 #299F1B #1B299F
tetradic
#9F1B29 #6B9F1B #1B9F91 #4F1B9F
square
#9F1B29 #6B9F1B #1B9F91 #4F1B9F
split-complementary
#9F1B29 #1B9F4F #1B6B9F
monochromatic
#36090E #6B121C #9F1B29 #D32436 #E25362

Accessibility & contrast

On white

7.89
#9F1B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9F1B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B29
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B29#FFFFFF#000000##FFFFFF
##9F1B291.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454028
Deuteranopia (green-blind)
#665B24
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1b29;
/* rgb */ color: rgb(159, 27, 41);
/* oklch */ color: oklch(45.7% 0.166 22.1);
Tailwind
colors: {
  custom: {
    50: '#c46662',
    500: '#9f1b29',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b29;
$custom-light: #c46662;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b29",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 41
  },
  "hsl": {
    "h": 353.636,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45694,
    "c": 0.16572,
    "h": 22.1
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#9F1B29
secondary
#51C5B8
accent
#EEDB3A
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1B29

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

Preview Lab → · Contrast checker → · Palette generator →

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