#981F28#981F28

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

Color values

HEX#981F28
RGBrgb(152, 31, 40)
HSLhsl(356, 66%, 36%)
HSVhsv(356, 80%, 60%)
CMYKcmyk(0%, 79.6%, 73.7%, 40.4%)
CIE-LABlab(33.59, 49.21, 26.55)
CIE-LCHlch(33.59, 55.92, 28.35°)
OKLaboklab(44.66% 0.1438 0.0605)
OKLCHoklch(44.66% 0.156 22.8)
XYZxyz(13.8235, 7.8107, 2.7868)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F28 #1F988F
analogous
#981F64 #981F28 #98521F
triadic
#981F28 #28981F #1F2898
tetradic
#981F28 #64981F #1F988F #521F98
square
#981F28 #64981F #1F988F #521F98
split-complementary
#981F28 #1F9852 #1F6498
monochromatic
#320A0D #65151B #981F28 #CB2935 #DC555F

Accessibility & contrast

On white

8.20
#981F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981F28
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F28#FFFFFF#000000##FFFFFF
##981F281.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E27
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#A80024
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #981f28;
/* rgb */ color: rgb(152, 31, 40);
/* oklch */ color: oklch(44.7% 0.156 22.8);
Tailwind
colors: {
  custom: {
    50: '#be6762',
    500: '#981f28',
    950: '#000000',
  },
}
SCSS
$custom: #981f28;
$custom-light: #be6762;
$custom-dark: #000000;
JSON
{
  "hex": "#981f28",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 355.537,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44656,
    "c": 0.15599,
    "h": 22.8
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#981F28
secondary
#53C0B8
accent
#E9DC3F
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #981F28

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

Preview Lab → · Contrast checker → · Palette generator →

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