#9F1839#9F1839

#9F1839 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.8% C 0.168 H 14.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9F1839
RGBrgb(159, 24, 57)
HSLhsl(345, 74%, 36%)
HSVhsv(345, 85%, 62%)
CMYKcmyk(0%, 84.9%, 64.2%, 37.6%)
CIE-LABlab(34.64, 54.08, 17.32)
CIE-LCHlch(34.64, 56.79, 17.76°)
OKLaboklab(45.79% 0.1622 0.0419)
OKLCHoklch(45.79% 0.168 14.5)
XYZxyz(15.3649, 8.3220, 4.6674)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1839 #189F7E
analogous
#9F187C #9F1839 #9F3A18
triadic
#9F1839 #399F18 #18399F
tetradic
#9F1839 #7C9F18 #189F7E #3A189F
square
#9F1839 #7C9F18 #189F7E #3A189F
split-complementary
#9F1839 #189F3A #187C9F
monochromatic
#350813 #6A1026 #9F1839 #D4204C #E44D72

Accessibility & contrast

On white

7.88
#9F1839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1839
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1839#FFFFFF#000000##FFFFFF
##9F18391.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424039
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1839;
/* rgb */ color: rgb(159, 24, 57);
/* oklch */ color: oklch(45.8% 0.168 14.5);
Tailwind
colors: {
  custom: {
    50: '#c3666f',
    500: '#9f1839',
    950: '#000000',
  },
}
SCSS
$custom: #9f1839;
$custom-light: #c3666f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1839",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 345.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45789,
    "c": 0.16756,
    "h": 14.5
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#9F1839
secondary
#4DC6A8
accent
#F0C337
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F1839

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

Preview Lab → · Contrast checker → · Palette generator →

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