#9F1D18#9F1D18

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

Color values

HEX#9F1D18
RGBrgb(159, 29, 24)
HSLhsl(2, 74%, 36%)
HSVhsv(2, 85%, 62%)
CMYKcmyk(0%, 81.8%, 84.9%, 37.6%)
CIE-LABlab(34.64, 51.36, 37.47)
CIE-LCHlch(34.64, 63.58, 36.11°)
OKLaboklab(45.63% 0.1462 0.0788)
OKLCHoklch(45.63% 0.166 28.3)
XYZxyz(14.9042, 8.3181, 1.6848)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D18 #189A9F
analogous
#9F1856 #9F1D18 #9F6018
triadic
#9F1D18 #189F1D #1D189F
tetradic
#9F1D18 #569F18 #189A9F #60189F
square
#9F1D18 #569F18 #189A9F #60189F
split-complementary
#9F1D18 #189F60 #18569F
monochromatic
#350A08 #6A1310 #9F1D18 #D42720 #E4534D

Accessibility & contrast

On white

7.89
#9F1D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1D18
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D18#FFFFFF#000000##FFFFFF
##9F1D181.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F15
Deuteranopia (green-blind)
#675B10
Tritanopia (blue-blind)
#B0001E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1d18;
/* rgb */ color: rgb(159, 29, 24);
/* oklch */ color: oklch(45.6% 0.166 28.3);
Tailwind
colors: {
  custom: {
    50: '#c56756',
    500: '#9f1d18',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d18;
$custom-light: #c56756;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d18",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 24
  },
  "hsl": {
    "h": 2.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45634,
    "c": 0.1661,
    "h": 28.3
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#9F1D18
secondary
#4DC2C6
accent
#EAF037
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F1D18

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

Preview Lab → · Contrast checker → · Palette generator →

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