#9F1F1E#9F1F1E

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

Color values

HEX#9F1F1E
RGBrgb(159, 31, 30)
HSLhsl(0, 68%, 37%)
HSVhsv(0, 81%, 62%)
CMYKcmyk(0%, 80.5%, 81.1%, 37.6%)
CIE-LABlab(34.90, 50.96, 34.40)
CIE-LCHlch(34.90, 61.48, 34.02°)
OKLaboklab(45.85% 0.1462 0.0743)
OKLCHoklch(45.85% 0.164 26.9)
XYZxyz(15.0242, 8.4471, 2.0674)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F1E #1E9E9F
analogous
#9F1E5E #9F1F1E #9F601E
triadic
#9F1F1E #1E9F1F #1F1E9F
tetradic
#9F1F1E #5E9F1E #1E9E9F #601E9F
square
#9F1F1E #5E9F1E #1E9E9F #601E9F
split-complementary
#9F1F1E #1E9F60 #1E5E9F
monochromatic
#380B0B #6C1514 #9F1F1E #D22928 #DF5958

Accessibility & contrast

On white

7.81
#9F1F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F1F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F1E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F1E#FFFFFF#000000##FFFFFF
##9F1F1E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401C
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#B00021
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1f1e;
/* rgb */ color: rgb(159, 31, 30);
/* oklch */ color: oklch(45.8% 0.164 26.9);
Tailwind
colors: {
  custom: {
    50: '#c5685b',
    500: '#9f1f1e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f1e;
$custom-light: #c5685b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f1e",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 30
  },
  "hsl": {
    "h": 0.465,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45846,
    "c": 0.16399,
    "h": 26.9
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#9F1F1E
secondary
#56C2C3
accent
#EAEB3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #9F1F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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