#9F1D1D#9F1D1D

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

Color values

HEX#9F1D1D
RGBrgb(159, 29, 29)
HSLhsl(0, 69%, 37%)
HSVhsv(0, 82%, 62%)
CMYKcmyk(0%, 81.8%, 81.8%, 37.6%)
CIE-LABlab(34.68, 51.51, 34.75)
CIE-LCHlch(34.68, 62.13, 34.01°)
OKLaboklab(45.68% 0.1477 0.0747)
OKLCHoklch(45.68% 0.166 26.8)
XYZxyz(14.9611, 8.3408, 1.9843)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D1D #1D9F9F
analogous
#9F1D5E #9F1D1D #9F5E1D
triadic
#9F1D1D #1D9F1D #1D1D9F
tetradic
#9F1D1D #5E9F1D #1D9F9F #5E1D9F
square
#9F1D1D #5E9F1D #1D9F9F #5E1D9F
split-complementary
#9F1D1D #1D9F5E #1D5E9F
monochromatic
#370A0A #6B1414 #9F1D1D #D32626 #E05656

Accessibility & contrast

On white

7.87
#9F1D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9F1D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D1D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D1D#FFFFFF#000000##FFFFFF
##9F1D1D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401B
Deuteranopia (green-blind)
#675C17
Tritanopia (blue-blind)
#B0001F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1d1d;
/* rgb */ color: rgb(159, 29, 29);
/* oklch */ color: oklch(45.7% 0.166 26.8);
Tailwind
colors: {
  custom: {
    50: '#c5675a',
    500: '#9f1d1d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d1d;
$custom-light: #c5675a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d1d",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 29
  },
  "hsl": {
    "h": 0,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45683,
    "c": 0.16552,
    "h": 26.8
  },
  "luminance": 0.08338
}

Semantic roles & 50–950 ramp

primary
#9F1D1D
secondary
#54C4C4
accent
#ECEC3C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #9F1D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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