#9F1D2B#9F1D2B

#9F1D2B is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.164 H 21.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9F1D2B
RGBrgb(159, 29, 43)
HSLhsl(354, 69%, 37%)
HSVhsv(354, 82%, 62%)
CMYKcmyk(0%, 81.8%, 73%, 37.6%)
CIE-LABlab(34.86, 52.04, 26.53)
CIE-LCHlch(34.86, 58.42, 27.01°)
OKLaboklab(45.87% 0.1525 0.0607)
OKLCHoklch(45.87% 0.164 21.7)
XYZxyz(15.1753, 8.4265, 3.1125)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D2B #1D9F91
analogous
#9F1D6C #9F1D2B #9F501D
triadic
#9F1D2B #2B9F1D #1D2B9F
tetradic
#9F1D2B #6C9F1D #1D9F91 #501D9F
square
#9F1D2B #6C9F1D #1D9F91 #501D9F
split-complementary
#9F1D2B #1D9F50 #1D6C9F
monochromatic
#370A0F #6B141D #9F1D2B #D32639 #E05665

Accessibility & contrast

On white

7.82
#9F1D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9F1D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D2B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D2B#FFFFFF#000000##FFFFFF
##9F1D2B1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46402A
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1d2b;
/* rgb */ color: rgb(159, 29, 43);
/* oklch */ color: oklch(45.9% 0.164 21.7);
Tailwind
colors: {
  custom: {
    50: '#c46764',
    500: '#9f1d2b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d2b;
$custom-light: #c46764;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d2b",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 353.538,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.16416,
    "h": 21.7
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#9F1D2B
secondary
#54C4B8
accent
#ECD93C
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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