#982822#982822

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

Color values

HEX#982822
RGBrgb(152, 40, 34)
HSLhsl(3, 63%, 36%)
HSVhsv(3, 78%, 60%)
CMYKcmyk(0%, 73.7%, 77.6%, 40.4%)
CIE-LABlab(34.62, 45.85, 31.36)
CIE-LCHlch(34.62, 55.55, 34.37°)
OKLaboklab(45.4% 0.1318 0.0695)
OKLCHoklch(45.4% 0.149 27.8)
XYZxyz(13.9980, 8.3106, 2.3801)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982822 #229298
analogous
#982257 #982822 #986322
triadic
#982822 #229828 #282298
tetradic
#982822 #579822 #229298 #632298
square
#982822 #579822 #229298 #632298
split-complementary
#982822 #229863 #225798
monochromatic
#340E0C #661B17 #982822 #CA352D #DA615A

Accessibility & contrast

On white

7.89
#982822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982822
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982822#FFFFFF#000000##FFFFFF
##9828221.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494220
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#A80028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982822;
/* rgb */ color: rgb(152, 40, 34);
/* oklch */ color: oklch(45.4% 0.149 27.8);
Tailwind
colors: {
  custom: {
    50: '#be6a5e',
    500: '#982822',
    950: '#000000',
  },
}
SCSS
$custom: #982822;
$custom-light: #be6a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#982822",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 3.051,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45403,
    "c": 0.149,
    "h": 27.8
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#982822
secondary
#57B9BE
accent
#DEE641
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79

Preview Lab

Preview with #982822

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

Preview Lab → · Contrast checker → · Palette generator →

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