#9F1531#9F1531

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

Color values

HEX#9F1531
RGBrgb(159, 21, 49)
HSLhsl(348, 77%, 35%)
HSVhsv(348, 87%, 62%)
CMYKcmyk(0%, 86.8%, 69.2%, 37.6%)
CIE-LABlab(34.26, 54.32, 21.99)
CIE-LCHlch(34.26, 58.60, 22.04°)
OKLaboklab(45.45% 0.1612 0.0516)
OKLCHoklch(45.45% 0.169 17.8)
XYZxyz(15.1224, 8.1314, 3.6784)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1531 #159F83
analogous
#9F1576 #9F1531 #9F3E15
triadic
#9F1531 #319F15 #15319F
tetradic
#9F1531 #769F15 #159F83 #3E159F
square
#9F1531 #769F15 #159F83 #3E159F
split-complementary
#9F1531 #159F3E #15769F
monochromatic
#330710 #690E20 #9F1531 #D51C42 #E74868

Accessibility & contrast

On white

8.00
#9F1531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1531
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1531#FFFFFF#000000##FFFFFF
##9F15311.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E31
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1531;
/* rgb */ color: rgb(159, 21, 49);
/* oklch */ color: oklch(45.5% 0.169 17.8);
Tailwind
colors: {
  custom: {
    50: '#c46568',
    500: '#9f1531',
    950: '#000000',
  },
}
SCSS
$custom: #9f1531;
$custom-light: #c46568;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1531",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 49
  },
  "hsl": {
    "h": 347.826,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45454,
    "c": 0.16929,
    "h": 17.8
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

primary
#9F1531
secondary
#48C8AE
accent
#F3CD35
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140606
muted
#837A7A

Preview Lab

Preview with #9F1531

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

Preview Lab → · Contrast checker → · Palette generator →

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