#982020#982020

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

Color values

HEX#982020
RGBrgb(152, 32, 32)
HSLhsl(0, 65%, 36%)
HSVhsv(0, 79%, 60%)
CMYKcmyk(0%, 78.9%, 78.9%, 40.4%)
CIE-LABlab(33.59, 48.57, 31.43)
CIE-LCHlch(33.59, 57.85, 32.91°)
OKLaboklab(44.63% 0.1399 0.0691)
OKLCHoklch(44.63% 0.156 26.3)
XYZxyz(13.7278, 7.8149, 2.1518)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982020 #209898
analogous
#98205C #982020 #985C20
triadic
#982020 #209820 #202098
tetradic
#982020 #5C9820 #209898 #5C2098
square
#982020 #5C9820 #209898 #5C2098
split-complementary
#982020 #20985C #205C98
monochromatic
#330B0B #651515 #982020 #CB2B2B #DC5757

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982020#FFFFFF#000000##FFFFFF
##9820201.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)
#453E1E
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#A80022
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #982020;
/* rgb */ color: rgb(152, 32, 32);
/* oklch */ color: oklch(44.6% 0.156 26.3);
Tailwind
colors: {
  custom: {
    50: '#bf675c',
    500: '#982020',
    950: '#000000',
  },
}
SCSS
$custom: #982020;
$custom-light: #bf675c;
$custom-dark: #000000;
JSON
{
  "hex": "#982020",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.15606,
    "h": 26.3
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#982020
secondary
#54BFBF
accent
#E8E840
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #982020

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

Preview Lab → · Contrast checker → · Palette generator →

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