#9F1E1F#9F1E1F

#9F1E1F is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.165 H 26.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9F1E1F
RGBrgb(159, 30, 31)
HSLhsl(360, 68%, 37%)
HSVhsv(360, 81%, 62%)
CMYKcmyk(0%, 81.1%, 80.5%, 37.6%)
CIE-LABlab(34.80, 51.29, 33.73)
CIE-LCHlch(34.80, 61.38, 33.33°)
OKLaboklab(45.78% 0.1474 0.0732)
OKLCHoklch(45.78% 0.165 26.4)
XYZxyz(15.0115, 8.4008, 2.1272)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E1F #1E9F9E
analogous
#9F1E60 #9F1E1F #9F5E1E
triadic
#9F1E1F #1F9F1E #1E1F9F
tetradic
#9F1E1F #609F1E #1E9F9E #5E1E9F
square
#9F1E1F #609F1E #1E9F9E #5E1E9F
split-complementary
#9F1E1F #1E9F5E #1E609F
monochromatic
#380B0B #6C1415 #9F1E1F #D22829 #DF5859

Accessibility & contrast

On white

7.84
#9F1E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1E1F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E1F#FFFFFF#000000##FFFFFF
##9F1E1F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401D
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#B00020
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1e1f;
/* rgb */ color: rgb(159, 30, 31);
/* oklch */ color: oklch(45.8% 0.165 26.4);
Tailwind
colors: {
  custom: {
    50: '#c5675b',
    500: '#9f1e1f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e1f;
$custom-light: #c5675b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e1f",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.535,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4578,
    "c": 0.16459,
    "h": 26.4
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#9F1E1F
secondary
#56C3C2
accent
#EBEA3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #9F1E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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