#981F1A#981F1A

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

Color values

HEX#981F1A
RGBrgb(152, 31, 26)
HSLhsl(2, 71%, 35%)
HSVhsv(2, 83%, 60%)
CMYKcmyk(0%, 79.6%, 82.9%, 40.4%)
CIE-LABlab(33.42, 48.68, 34.71)
CIE-LCHlch(33.42, 59.79, 35.49°)
OKLaboklab(44.48% 0.139 0.0742)
OKLCHoklch(44.48% 0.158 28.1)
XYZxyz(13.6270, 7.7322, 1.7520)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F1A #1A9398
analogous
#981A54 #981F1A #985E1A
triadic
#981F1A #1A981F #1F1A98
tetradic
#981F1A #54981A #1A9398 #5E1A98
square
#981F1A #54981A #1A9398 #5E1A98
split-complementary
#981F1A #1A985E #1A5498
monochromatic
#2F0A08 #641411 #981F1A #CC2A23 #E0524C

Accessibility & contrast

On white

8.25
#981F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#981F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F1A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F1A#FFFFFF#000000##FFFFFF
##981F1A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E18
Deuteranopia (green-blind)
#635814
Tritanopia (blue-blind)
#A80020
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #981f1a;
/* rgb */ color: rgb(152, 31, 26);
/* oklch */ color: oklch(44.5% 0.158 28.1);
Tailwind
colors: {
  custom: {
    50: '#bf6658',
    500: '#981f1a',
    950: '#000000',
  },
}
SCSS
$custom: #981f1a;
$custom-light: #bf6658;
$custom-dark: #000000;
JSON
{
  "hex": "#981f1a",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 26
  },
  "hsl": {
    "h": 2.381,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44479,
    "c": 0.15758,
    "h": 28.1
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#981F1A
secondary
#4BBEC2
accent
#E6EE3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140603
muted
#837A78

Preview Lab

Preview with #981F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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