#982021#982021

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

Color values

HEX#982021
RGBrgb(152, 32, 33)
HSLhsl(360, 65%, 36%)
HSVhsv(360, 79%, 60%)
CMYKcmyk(0%, 78.9%, 78.3%, 40.4%)
CIE-LABlab(33.61, 48.60, 30.85)
CIE-LCHlch(33.61, 57.57, 32.41°)
OKLaboklab(44.64% 0.1403 0.0681)
OKLCHoklch(44.64% 0.156 25.9)
XYZxyz(13.7416, 7.8204, 2.2245)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982021 #209897
analogous
#98205D #982021 #985B20
triadic
#982021 #219820 #202198
tetradic
#982021 #5D9820 #209897 #5B2098
square
#982021 #5D9820 #209897 #5B2098
split-complementary
#982021 #20985B #205D98
monochromatic
#330B0B #651516 #982021 #CB2B2C #DC5758

Accessibility & contrast

On white

8.19
#982021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#982021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982021
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982021#FFFFFF#000000##FFFFFF
##9820211.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982021;
/* rgb */ color: rgb(152, 32, 33);
/* oklch */ color: oklch(44.6% 0.156 25.9);
Tailwind
colors: {
  custom: {
    50: '#bf675d',
    500: '#982021',
    950: '#000000',
  },
}
SCSS
$custom: #982021;
$custom-light: #bf675d;
$custom-dark: #000000;
JSON
{
  "hex": "#982021",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 33
  },
  "hsl": {
    "h": 359.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44642,
    "c": 0.15594,
    "h": 25.9
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#982021
secondary
#54BFBE
accent
#E8E740
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #982021

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

Preview Lab → · Contrast checker → · Palette generator →

#982021 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva