#981F24#981F24

#981F24 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.156 H 24.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#981F24
RGBrgb(152, 31, 36)
HSLhsl(358, 66%, 36%)
HSVhsv(358, 80%, 60%)
CMYKcmyk(0%, 79.6%, 76.3%, 40.4%)
CIE-LABlab(33.53, 49.04, 28.96)
CIE-LCHlch(33.53, 56.95, 30.56°)
OKLaboklab(44.6% 0.1423 0.0648)
OKLCHoklch(44.6% 0.156 24.5)
XYZxyz(13.7589, 7.7849, 2.4469)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F24 #1F9893
analogous
#981F60 #981F24 #98561F
triadic
#981F24 #24981F #1F2498
tetradic
#981F24 #60981F #1F9893 #561F98
square
#981F24 #60981F #1F9893 #561F98
split-complementary
#981F24 #1F9856 #1F6098
monochromatic
#320A0C #651518 #981F24 #CB2930 #DC555B

Accessibility & contrast

On white

8.21
#981F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#981F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F24
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F24#FFFFFF#000000##FFFFFF
##981F241.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E23
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#A80022
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #981f24;
/* rgb */ color: rgb(152, 31, 36);
/* oklch */ color: oklch(44.6% 0.156 24.5);
Tailwind
colors: {
  custom: {
    50: '#bf675f',
    500: '#981f24',
    950: '#000000',
  },
}
SCSS
$custom: #981f24;
$custom-light: #bf675f;
$custom-dark: #000000;
JSON
{
  "hex": "#981f24",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 36
  },
  "hsl": {
    "h": 357.521,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44598,
    "c": 0.15638,
    "h": 24.5
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#981F24
secondary
#53C0BB
accent
#E9E23F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #981F24

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

Preview Lab → · Contrast checker → · Palette generator →

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