#9A1F1E#9A1F1E

#9A1F1E is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.9% C 0.159 H 26.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9A1F1E
RGBrgb(154, 31, 30)
HSLhsl(0, 67%, 36%)
HSVhsv(0, 81%, 60%)
CMYKcmyk(0%, 79.9%, 80.5%, 39.6%)
CIE-LABlab(33.87, 49.43, 33.02)
CIE-LCHlch(33.87, 59.45, 33.74°)
OKLaboklab(44.9% 0.142 0.0718)
OKLCHoklch(44.9% 0.159 26.8)
XYZxyz(14.0525, 7.9460, 2.0219)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F1E #1E999A
analogous
#9A1E5B #9A1F1E #9A5D1E
triadic
#9A1F1E #1E9A1F #1F1E9A
tetradic
#9A1F1E #5B9A1E #1E999A #5D1E9A
square
#9A1F1E #5B9A1E #1E999A #5D1E9A
split-complementary
#9A1F1E #1E9A5D #1E5B9A
monochromatic
#340A0A #671514 #9A1F1E #CD2928 #DE5655

Accessibility & contrast

On white

8.11
#9A1F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#9A1F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F1E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F1E#FFFFFF#000000##FFFFFF
##9A1F1E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1C
Deuteranopia (green-blind)
#645918
Tritanopia (blue-blind)
#AA0021
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1f1e;
/* rgb */ color: rgb(154, 31, 30);
/* oklch */ color: oklch(44.9% 0.159 26.8);
Tailwind
colors: {
  custom: {
    50: '#c1675a',
    500: '#9a1f1e',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f1e;
$custom-light: #c1675a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f1e",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 30
  },
  "hsl": {
    "h": 0.484,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44901,
    "c": 0.15907,
    "h": 26.8
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#9A1F1E
secondary
#53C0C1
accent
#E9EA3E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9A1F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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