#9F1B33#9F1B33

#9F1B33 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.165 H 17.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9F1B33
RGBrgb(159, 27, 51)
HSLhsl(349, 71%, 36%)
HSVhsv(349, 83%, 62%)
CMYKcmyk(0%, 83%, 67.9%, 37.6%)
CIE-LABlab(34.79, 52.98, 21.39)
CIE-LCHlch(34.79, 57.14, 21.98°)
OKLaboklab(45.86% 0.1574 0.0505)
OKLCHoklch(45.86% 0.165 17.8)
XYZxyz(15.2893, 8.3962, 3.9469)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B33 #1B9F87
analogous
#9F1B75 #9F1B33 #9F451B
triadic
#9F1B33 #339F1B #1B339F
tetradic
#9F1B33 #759F1B #1B9F87 #451B9F
square
#9F1B33 #759F1B #1B9F87 #451B9F
split-complementary
#9F1B33 #1B9F45 #1B759F
monochromatic
#360911 #6B1222 #9F1B33 #D32444 #E2536D

Accessibility & contrast

On white

7.84
#9F1B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9F1B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B33
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B33#FFFFFF#000000##FFFFFF
##9F1B331.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444033
Deuteranopia (green-blind)
#655C2F
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b33;
/* rgb */ color: rgb(159, 27, 51);
/* oklch */ color: oklch(45.9% 0.165 17.8);
Tailwind
colors: {
  custom: {
    50: '#c3676a',
    500: '#9f1b33',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b33;
$custom-light: #c3676a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b33",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 51
  },
  "hsl": {
    "h": 349.091,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.16531,
    "h": 17.8
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#9F1B33
secondary
#51C5B0
accent
#EECD3A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1B33

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

Preview Lab → · Contrast checker → · Palette generator →

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