#981F23#981F23

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

Color values

HEX#981F23
RGBrgb(152, 31, 35)
HSLhsl(358, 66%, 36%)
HSVhsv(358, 80%, 60%)
CMYKcmyk(0%, 79.6%, 77%, 40.4%)
CIE-LABlab(33.52, 49.00, 29.55)
CIE-LCHlch(33.52, 57.22, 31.10°)
OKLaboklab(44.59% 0.142 0.0659)
OKLCHoklch(44.59% 0.156 24.9)
XYZxyz(13.7439, 7.7789, 2.3676)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F23 #1F9894
analogous
#981F5F #981F23 #98581F
triadic
#981F23 #23981F #1F2398
tetradic
#981F23 #5F981F #1F9894 #581F98
square
#981F23 #5F981F #1F9894 #581F98
split-complementary
#981F23 #1F9858 #1F5F98
monochromatic
#320A0C #651517 #981F23 #CB292F #DC555A

Accessibility & contrast

On white

8.22
#981F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981F23
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F23#FFFFFF#000000##FFFFFF
##981F231.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E22
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#A80022
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #981f23;
/* rgb */ color: rgb(152, 31, 35);
/* oklch */ color: oklch(44.6% 0.156 24.9);
Tailwind
colors: {
  custom: {
    50: '#bf675e',
    500: '#981f23',
    950: '#000000',
  },
}
SCSS
$custom: #981f23;
$custom-light: #bf675e;
$custom-dark: #000000;
JSON
{
  "hex": "#981f23",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 358.017,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.15648,
    "h": 24.9
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#981F23
secondary
#53C0BC
accent
#E9E33F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #981F23

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

Preview Lab → · Contrast checker → · Palette generator →

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