#982027#982027

#982027 is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.7% C 0.155 H 23.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#982027
RGBrgb(152, 32, 39)
HSLhsl(357, 65%, 36%)
HSVhsv(357, 79%, 60%)
CMYKcmyk(0%, 78.9%, 74.3%, 40.4%)
CIE-LABlab(33.68, 48.85, 27.29)
CIE-LCHlch(33.68, 55.96, 29.19°)
OKLaboklab(44.73% 0.1424 0.0619)
OKLCHoklch(44.73% 0.155 23.5)
XYZxyz(13.8332, 7.8571, 2.7073)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982027 #209891
analogous
#982063 #982027 #985520
triadic
#982027 #279820 #202798
tetradic
#982027 #639820 #209891 #552098
square
#982027 #639820 #209891 #552098
split-complementary
#982027 #209855 #206398
monochromatic
#330B0D #65151A #982027 #CB2B34 #DC575F

Accessibility & contrast

On white

8.17
#982027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#982027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982027
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982027#FFFFFF#000000##FFFFFF
##9820271.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F26
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#A80024
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #982027;
/* rgb */ color: rgb(152, 32, 39);
/* oklch */ color: oklch(44.7% 0.155 23.5);
Tailwind
colors: {
  custom: {
    50: '#be6761',
    500: '#982027',
    950: '#000000',
  },
}
SCSS
$custom: #982027;
$custom-light: #be6761;
$custom-dark: #000000;
JSON
{
  "hex": "#982027",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 39
  },
  "hsl": {
    "h": 356.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44725,
    "c": 0.15528,
    "h": 23.5
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#982027
secondary
#54BFB9
accent
#E8DE40
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #982027

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

Preview Lab → · Contrast checker → · Palette generator →

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