#982226#982226

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

Color values

HEX#982226
RGBrgb(152, 34, 38)
HSLhsl(358, 63%, 36%)
HSVhsv(358, 78%, 60%)
CMYKcmyk(0%, 77.6%, 75%, 40.4%)
CIE-LABlab(33.90, 48.16, 28.16)
CIE-LCHlch(33.90, 55.78, 30.31°)
OKLaboklab(44.88% 0.14 0.0636)
OKLCHoklch(44.88% 0.154 24.4)
XYZxyz(13.8724, 7.9616, 2.6396)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982226 #229894
analogous
#982261 #982226 #985922
triadic
#982226 #269822 #222698
tetradic
#982226 #619822 #229894 #592298
square
#982226 #619822 #229894 #592298
split-complementary
#982226 #229859 #226198
monochromatic
#340C0D #661719 #982226 #CA2D33 #DA5A5F

Accessibility & contrast

On white

8.10
#982226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982226
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982226#FFFFFF#000000##FFFFFF
##9822261.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F25
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982226;
/* rgb */ color: rgb(152, 34, 38);
/* oklch */ color: oklch(44.9% 0.154 24.4);
Tailwind
colors: {
  custom: {
    50: '#be6860',
    500: '#982226',
    950: '#000000',
  },
}
SCSS
$custom: #982226;
$custom-light: #be6860;
$custom-dark: #000000;
JSON
{
  "hex": "#982226",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 357.966,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44883,
    "c": 0.15373,
    "h": 24.4
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#982226
secondary
#57BEBB
accent
#E6E141
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #982226

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

Preview Lab → · Contrast checker → · Palette generator →

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