#981E1F#981E1F

#981E1F is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.5% C 0.158 H 26.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#981E1F
RGBrgb(152, 30, 31)
HSLhsl(360, 67%, 36%)
HSVhsv(360, 80%, 60%)
CMYKcmyk(0%, 80.3%, 79.6%, 40.4%)
CIE-LABlab(33.36, 49.15, 31.78)
CIE-LCHlch(33.36, 58.53, 32.88°)
OKLaboklab(44.45% 0.1416 0.0696)
OKLCHoklch(44.45% 0.158 26.2)
XYZxyz(13.6621, 7.7051, 2.0639)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E1F #1E9897
analogous
#981E5C #981E1F #985A1E
triadic
#981E1F #1F981E #1E1F98
tetradic
#981E1F #5C981E #1E9897 #5A1E98
square
#981E1F #5C981E #1E9897 #5A1E98
split-complementary
#981E1F #1E985A #1E5C98
monochromatic
#320A0A #651415 #981E1F #CB2829 #DD5354

Accessibility & contrast

On white

8.27
#981E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#981E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E1F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E1F#FFFFFF#000000##FFFFFF
##981E1F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#A80020
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #981e1f;
/* rgb */ color: rgb(152, 30, 31);
/* oklch */ color: oklch(44.5% 0.158 26.2);
Tailwind
colors: {
  custom: {
    50: '#bf665b',
    500: '#981e1f',
    950: '#000000',
  },
}
SCSS
$custom: #981e1f;
$custom-light: #bf665b;
$custom-dark: #000000;
JSON
{
  "hex": "#981e1f",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.508,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44453,
    "c": 0.15771,
    "h": 26.2
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#981E1F
secondary
#51C0BF
accent
#EAE93E
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140604
muted
#827A79

Preview Lab

Preview with #981E1F

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

Preview Lab → · Contrast checker → · Palette generator →

#981E1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva