#981F21#981F21

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

Color values

HEX#981F21
RGBrgb(152, 31, 33)
HSLhsl(359, 66%, 36%)
HSVhsv(359, 80%, 60%)
CMYKcmyk(0%, 79.6%, 78.3%, 40.4%)
CIE-LABlab(33.49, 48.92, 30.73)
CIE-LCHlch(33.49, 57.77, 32.14°)
OKLaboklab(44.56% 0.1413 0.0679)
OKLCHoklch(44.56% 0.157 25.7)
XYZxyz(13.7150, 7.7674, 2.2157)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F21 #1F9896
analogous
#981F5D #981F21 #98591F
triadic
#981F21 #21981F #1F2198
tetradic
#981F21 #5D981F #1F9896 #591F98
square
#981F21 #5D981F #1F9896 #591F98
split-complementary
#981F21 #1F9859 #1F5D98
monochromatic
#320A0B #651516 #981F21 #CB292C #DC5557

Accessibility & contrast

On white

8.23
#981F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981F21
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F21#FFFFFF#000000##FFFFFF
##981F211.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E20
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#A80021
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #981f21;
/* rgb */ color: rgb(152, 31, 33);
/* oklch */ color: oklch(44.6% 0.157 25.7);
Tailwind
colors: {
  custom: {
    50: '#bf675d',
    500: '#981f21',
    950: '#000000',
  },
}
SCSS
$custom: #981f21;
$custom-light: #bf675d;
$custom-dark: #000000;
JSON
{
  "hex": "#981f21",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 33
  },
  "hsl": {
    "h": 359.008,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44559,
    "c": 0.15672,
    "h": 25.7
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#981F21
secondary
#53C0BE
accent
#E9E63F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140604
muted
#827A79

Preview Lab

Preview with #981F21

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

Preview Lab → · Contrast checker → · Palette generator →

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