#982227#982227

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

Color values

HEX#982227
RGBrgb(152, 34, 39)
HSLhsl(357, 63%, 36%)
HSVhsv(357, 78%, 60%)
CMYKcmyk(0%, 77.6%, 74.3%, 40.4%)
CIE-LABlab(33.92, 48.20, 27.56)
CIE-LCHlch(33.92, 55.52, 29.76°)
OKLaboklab(44.9% 0.1403 0.0625)
OKLCHoklch(44.9% 0.154 24)
XYZxyz(13.8887, 7.9681, 2.7258)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982227 #229893
analogous
#982262 #982227 #985822
triadic
#982227 #279822 #222798
tetradic
#982227 #629822 #229893 #582298
square
#982227 #629822 #229893 #582298
split-complementary
#982227 #229858 #226298
monochromatic
#340C0D #66171A #982227 #CA2D34 #DA5A60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982227#FFFFFF#000000##FFFFFF
##9822271.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)
#464026
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982227;
/* rgb */ color: rgb(152, 34, 39);
/* oklch */ color: oklch(44.9% 0.154 24.0);
Tailwind
colors: {
  custom: {
    50: '#be6861',
    500: '#982227',
    950: '#000000',
  },
}
SCSS
$custom: #982227;
$custom-light: #be6861;
$custom-dark: #000000;
JSON
{
  "hex": "#982227",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.458,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44898,
    "c": 0.15361,
    "h": 24
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#982227
secondary
#57BEBA
accent
#E6DF41
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #982227

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

Preview Lab → · Contrast checker → · Palette generator →

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