#9F1D12#9F1D12

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

Color values

HEX#9F1D12
RGBrgb(159, 29, 18)
HSLhsl(5, 80%, 35%)
HSVhsv(5, 89%, 62%)
CMYKcmyk(0%, 81.8%, 88.7%, 37.6%)
CIE-LABlab(34.59, 51.22, 40.47)
CIE-LCHlch(34.59, 65.28, 38.31°)
OKLaboklab(45.59% 0.1447 0.0829)
OKLCHoklch(45.59% 0.167 29.8)
XYZxyz(14.8485, 8.2958, 1.3916)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D12 #12949F
analogous
#9F124D #9F1D12 #9F6412
triadic
#9F1D12 #129F1D #1D129F
tetradic
#9F1D12 #4D9F12 #12949F #64129F
square
#9F1D12 #4D9F12 #12949F #64129F
split-complementary
#9F1D12 #129F64 #124D9F
monochromatic
#310906 #68130C #9F1D12 #D62718 #EA4F42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1D12#FFFFFF#000000##FFFFFF
##9F1D121.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)
#483F0E
Deuteranopia (green-blind)
#675B08
Tritanopia (blue-blind)
#B0001D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1d12;
/* rgb */ color: rgb(159, 29, 18);
/* oklch */ color: oklch(45.6% 0.167 29.8);
Tailwind
colors: {
  custom: {
    50: '#c56753',
    500: '#9f1d12',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d12;
$custom-light: #c56753;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d12",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 4.681,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45587,
    "c": 0.16679,
    "h": 29.8
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#9F1D12
secondary
#43BFCA
accent
#E7F632
background
#FDF6F4
surface
#FAEBE7
border
#D3C6C3
text
#150702
muted
#837A78

Preview Lab

Preview with #9F1D12

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

Preview Lab → · Contrast checker → · Palette generator →

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