#982820#982820

#982820 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.4% C 0.149 H 28.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#982820
RGBrgb(152, 40, 32)
HSLhsl(4, 65%, 36%)
HSVhsv(4, 79%, 60%)
CMYKcmyk(0%, 73.7%, 78.9%, 40.4%)
CIE-LABlab(34.60, 45.77, 32.50)
CIE-LCHlch(34.60, 56.14, 35.38°)
OKLaboklab(45.38% 0.1311 0.0714)
OKLCHoklch(45.38% 0.149 28.6)
XYZxyz(13.9700, 8.2994, 2.2326)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982820 #209098
analogous
#982054 #982820 #986420
triadic
#982820 #209828 #282098
tetradic
#982820 #549820 #209098 #642098
square
#982820 #549820 #209098 #642098
split-complementary
#982820 #209864 #205498
monochromatic
#330D0B #651B15 #982820 #CB352B #DC6057

Accessibility & contrast

On white

7.90
#982820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#982820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982820
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982820#FFFFFF#000000##FFFFFF
##9828201.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49421E
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#A80027
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982820;
/* rgb */ color: rgb(152, 40, 32);
/* oklch */ color: oklch(45.4% 0.149 28.6);
Tailwind
colors: {
  custom: {
    50: '#bf6a5c',
    500: '#982820',
    950: '#000000',
  },
}
SCSS
$custom: #982820;
$custom-light: #bf6a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#982820",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 32
  },
  "hsl": {
    "h": 4,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45378,
    "c": 0.14931,
    "h": 28.6
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#982820
secondary
#54B8BF
accent
#DDE840
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79

Preview Lab

Preview with #982820

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

Preview Lab → · Contrast checker → · Palette generator →

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