#9F1837#9F1837

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

Color values

HEX#9F1837
RGBrgb(159, 24, 55)
HSLhsl(346, 74%, 36%)
HSVhsv(346, 85%, 62%)
CMYKcmyk(0%, 84.9%, 65.4%, 37.6%)
CIE-LABlab(34.60, 53.96, 18.57)
CIE-LCHlch(34.60, 57.07, 18.99°)
OKLaboklab(45.75% 0.1614 0.0446)
OKLCHoklch(45.75% 0.167 15.4)
XYZxyz(15.3160, 8.3024, 4.4098)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1837 #189F80
analogous
#9F187A #9F1837 #9F3C18
triadic
#9F1837 #379F18 #18379F
tetradic
#9F1837 #7A9F18 #189F80 #3C189F
square
#9F1837 #7A9F18 #189F80 #3C189F
split-complementary
#9F1837 #189F3C #187A9F
monochromatic
#350812 #6A1025 #9F1837 #D42049 #E44D70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1837#FFFFFF#000000##FFFFFF
##9F18371.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)
#424037
Deuteranopia (green-blind)
#645B33
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1837;
/* rgb */ color: rgb(159, 24, 55);
/* oklch */ color: oklch(45.7% 0.167 15.4);
Tailwind
colors: {
  custom: {
    50: '#c3666d',
    500: '#9f1837',
    950: '#000000',
  },
}
SCSS
$custom: #9f1837;
$custom-light: #c3666d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1837",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 346.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.16747,
    "h": 15.4
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#9F1837
secondary
#4DC6AA
accent
#F0C637
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #9F1837

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

Preview Lab → · Contrast checker → · Palette generator →

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