#982229#982229

#982229 is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.9% C 0.153 H 23.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#982229
RGBrgb(152, 34, 41)
HSLhsl(356, 63%, 36%)
HSVhsv(356, 78%, 60%)
CMYKcmyk(0%, 77.6%, 73%, 40.4%)
CIE-LABlab(33.94, 48.29, 26.35)
CIE-LCHlch(33.94, 55.01, 28.62°)
OKLaboklab(44.93% 0.1411 0.0603)
OKLCHoklch(44.93% 0.153 23.1)
XYZxyz(13.9228, 7.9817, 2.9049)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982229 #229891
analogous
#982264 #982229 #985622
triadic
#982229 #299822 #222998
tetradic
#982229 #649822 #229891 #562298
square
#982229 #649822 #229891 #562298
split-complementary
#982229 #229856 #226498
monochromatic
#340C0E #66171C #982229 #CA2D36 #DA5A62

Accessibility & contrast

On white

8.09
#982229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#982229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982229
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982229#FFFFFF#000000##FFFFFF
##9822291.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454028
Deuteranopia (green-blind)
#635925
Tritanopia (blue-blind)
#A80026
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982229;
/* rgb */ color: rgb(152, 34, 41);
/* oklch */ color: oklch(44.9% 0.153 23.1);
Tailwind
colors: {
  custom: {
    50: '#be6862',
    500: '#982229',
    950: '#000000',
  },
}
SCSS
$custom: #982229;
$custom-light: #be6862;
$custom-dark: #000000;
JSON
{
  "hex": "#982229",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 356.441,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.15341,
    "h": 23.1
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#982229
secondary
#57BEB8
accent
#E6DD41
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #982229

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

Preview Lab → · Contrast checker → · Palette generator →

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