#9F1E1E#9F1E1E

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

Color values

HEX#9F1E1E
RGBrgb(159, 30, 30)
HSLhsl(0, 68%, 37%)
HSVhsv(0, 81%, 62%)
CMYKcmyk(0%, 81.1%, 81.1%, 37.6%)
CIE-LABlab(34.79, 51.25, 34.29)
CIE-LCHlch(34.79, 61.67, 33.79°)
OKLaboklab(45.77% 0.1471 0.0741)
OKLCHoklch(45.77% 0.165 26.7)
XYZxyz(14.9985, 8.3956, 2.0588)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E1E #1E9F9F
analogous
#9F1E5F #9F1E1E #9F5F1E
triadic
#9F1E1E #1E9F1E #1E1E9F
tetradic
#9F1E1E #5F9F1E #1E9F9F #5F1E9F
square
#9F1E1E #5F9F1E #1E9F9F #5F1E9F
split-complementary
#9F1E1E #1E9F5F #1E5F9F
monochromatic
#380B0B #6C1414 #9F1E1E #D22828 #DF5858

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1E1E#FFFFFF#000000##FFFFFF
##9F1E1E1.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)
#47401C
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#B00020
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1e1e;
/* rgb */ color: rgb(159, 30, 30);
/* oklch */ color: oklch(45.8% 0.165 26.7);
Tailwind
colors: {
  custom: {
    50: '#c5675b',
    500: '#9f1e1e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e1e;
$custom-light: #c5675b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e1e",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 30
  },
  "hsl": {
    "h": 0,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45769,
    "c": 0.16471,
    "h": 26.7
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#9F1E1E
secondary
#56C3C3
accent
#EBEB3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #9F1E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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