#9F1931#9F1931

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

Color values

HEX#9F1931
RGBrgb(159, 25, 49)
HSLhsl(349, 73%, 36%)
HSVhsv(349, 84%, 62%)
CMYKcmyk(0%, 84.3%, 69.2%, 37.6%)
CIE-LABlab(34.58, 53.39, 22.40)
CIE-LCHlch(34.58, 57.90, 22.76°)
OKLaboklab(45.69% 0.1582 0.0525)
OKLCHoklch(45.69% 0.167 18.4)
XYZxyz(15.2018, 8.2903, 3.7049)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1931 #199F87
analogous
#9F1974 #9F1931 #9F4419
triadic
#9F1931 #319F19 #19319F
tetradic
#9F1931 #749F19 #199F87 #44199F
square
#9F1931 #749F19 #199F87 #44199F
split-complementary
#9F1931 #199F44 #19749F
monochromatic
#350810 #6A1121 #9F1931 #D42141 #E34F6A

Accessibility & contrast

On white

7.90
#9F1931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1931
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1931#FFFFFF#000000##FFFFFF
##9F19311.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F31
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1931;
/* rgb */ color: rgb(159, 25, 49);
/* oklch */ color: oklch(45.7% 0.167 18.4);
Tailwind
colors: {
  custom: {
    50: '#c36668',
    500: '#9f1931',
    950: '#000000',
  },
}
SCSS
$custom: #9f1931;
$custom-light: #c36668;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1931",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 49
  },
  "hsl": {
    "h": 349.254,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45694,
    "c": 0.16673,
    "h": 18.4
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#9F1931
secondary
#4EC6B0
accent
#F0CF38
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1931

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

Preview Lab → · Contrast checker → · Palette generator →

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