#982222#982222

#982222 is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.8% C 0.154 H 26.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#982222
RGBrgb(152, 34, 34)
HSLhsl(0, 63%, 36%)
HSVhsv(0, 78%, 60%)
CMYKcmyk(0%, 77.6%, 77.6%, 40.4%)
CIE-LABlab(33.85, 47.99, 30.52)
CIE-LCHlch(33.85, 56.87, 32.46°)
OKLaboklab(44.83% 0.1385 0.0677)
OKLCHoklch(44.83% 0.154 26)
XYZxyz(13.8113, 7.9371, 2.3179)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982222 #229898
analogous
#98225D #982222 #985D22
triadic
#982222 #229822 #222298
tetradic
#982222 #5D9822 #229898 #5D2298
square
#982222 #5D9822 #229898 #5D2298
split-complementary
#982222 #22985D #225D98
monochromatic
#340C0C #661717 #982222 #CA2D2D #DA5A5A

Accessibility & contrast

On white

8.12
#982222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#982222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982222
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982222#FFFFFF#000000##FFFFFF
##9822221.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F21
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#A80024
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982222;
/* rgb */ color: rgb(152, 34, 34);
/* oklch */ color: oklch(44.8% 0.154 26.0);
Tailwind
colors: {
  custom: {
    50: '#bf685d',
    500: '#982222',
    950: '#000000',
  },
}
SCSS
$custom: #982222;
$custom-light: #bf685d;
$custom-dark: #000000;
JSON
{
  "hex": "#982222",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44829,
    "c": 0.1542,
    "h": 26
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#982222
secondary
#57BEBE
accent
#E6E641
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #982222

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

Preview Lab → · Contrast checker → · Palette generator →

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