#9F1533#9F1533

#9F1533 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.5% C 0.169 H 16.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9F1533
RGBrgb(159, 21, 51)
HSLhsl(347, 77%, 35%)
HSVhsv(347, 87%, 62%)
CMYKcmyk(0%, 86.8%, 67.9%, 37.6%)
CIE-LABlab(34.29, 54.42, 20.75)
CIE-LCHlch(34.29, 58.24, 20.87°)
OKLaboklab(45.49% 0.162 0.0491)
OKLCHoklch(45.49% 0.169 16.9)
XYZxyz(15.1655, 8.1487, 3.9057)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1533 #159F81
analogous
#9F1578 #9F1533 #9F3C15
triadic
#9F1533 #339F15 #15339F
tetradic
#9F1533 #789F15 #159F81 #3C159F
square
#9F1533 #789F15 #159F81 #3C159F
split-complementary
#9F1533 #159F3C #15789F
monochromatic
#330710 #690E22 #9F1533 #D51C44 #E7486A

Accessibility & contrast

On white

7.99
#9F1533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9F1533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1533
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1533#FFFFFF#000000##FFFFFF
##9F15331.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E33
Deuteranopia (green-blind)
#645B2F
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1533;
/* rgb */ color: rgb(159, 21, 51);
/* oklch */ color: oklch(45.5% 0.169 16.9);
Tailwind
colors: {
  custom: {
    50: '#c3656a',
    500: '#9f1533',
    950: '#000000',
  },
}
SCSS
$custom: #9f1533;
$custom-light: #c3656a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1533",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 346.957,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45491,
    "c": 0.1693,
    "h": 16.9
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#9F1533
secondary
#48C8AC
accent
#F3CA35
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140606
muted
#837A7A

Preview Lab

Preview with #9F1533

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

Preview Lab → · Contrast checker → · Palette generator →

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