#9F1818#9F1818

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

Color values

HEX#9F1818
RGBrgb(159, 24, 24)
HSLhsl(0, 74%, 36%)
HSVhsv(0, 85%, 62%)
CMYKcmyk(0%, 84.9%, 84.9%, 37.6%)
CIE-LABlab(34.17, 52.67, 37.04)
CIE-LCHlch(34.17, 64.39, 35.12°)
OKLaboklab(45.29% 0.1503 0.0778)
OKLCHoklch(45.29% 0.169 27.4)
XYZxyz(14.7915, 8.0926, 1.6472)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1818 #189F9F
analogous
#9F185B #9F1818 #9F5B18
triadic
#9F1818 #189F18 #18189F
tetradic
#9F1818 #5B9F18 #189F9F #5B189F
square
#9F1818 #5B9F18 #189F9F #5B189F
split-complementary
#9F1818 #189F5B #185B9F
monochromatic
#350808 #6A1010 #9F1818 #D42020 #E44D4D

Accessibility & contrast

On white

8.02
#9F1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9F1818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1818
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1818#FFFFFF#000000##FFFFFF
##9F18181.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E16
Deuteranopia (green-blind)
#665B10
Tritanopia (blue-blind)
#B0001B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9f1818;
/* rgb */ color: rgb(159, 24, 24);
/* oklch */ color: oklch(45.3% 0.169 27.4);
Tailwind
colors: {
  custom: {
    50: '#c56556',
    500: '#9f1818',
    950: '#000000',
  },
}
SCSS
$custom: #9f1818;
$custom-light: #c56556;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1818",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45292,
    "c": 0.16929,
    "h": 27.4
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#9F1818
secondary
#4DC6C6
accent
#F0F037
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9F1818

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

Preview Lab → · Contrast checker → · Palette generator →

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