#982228#982228

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

Color values

HEX#982228
RGBrgb(152, 34, 40)
HSLhsl(357, 63%, 36%)
HSVhsv(357, 78%, 60%)
CMYKcmyk(0%, 77.6%, 73.7%, 40.4%)
CIE-LABlab(33.93, 48.25, 26.95)
CIE-LCHlch(33.93, 55.26, 29.19°)
OKLaboklab(44.91% 0.1407 0.0614)
OKLCHoklch(44.91% 0.154 23.6)
XYZxyz(13.9055, 7.9748, 2.8142)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982228 #229892
analogous
#982263 #982228 #985722
triadic
#982228 #289822 #222898
tetradic
#982228 #639822 #229892 #572298
square
#982228 #639822 #229892 #572298
split-complementary
#982228 #229857 #226398
monochromatic
#340C0E #66171B #982228 #CA2D35 #DA5A61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982228#FFFFFF#000000##FFFFFF
##9822281.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982228;
/* rgb */ color: rgb(152, 34, 40);
/* oklch */ color: oklch(44.9% 0.154 23.6);
Tailwind
colors: {
  custom: {
    50: '#be6862',
    500: '#982228',
    950: '#000000',
  },
}
SCSS
$custom: #982228;
$custom-light: #be6862;
$custom-dark: #000000;
JSON
{
  "hex": "#982228",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 356.949,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44913,
    "c": 0.15351,
    "h": 23.6
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#982228
secondary
#57BEB9
accent
#E6DE41
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #982228

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

Preview Lab → · Contrast checker → · Palette generator →

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