#982028#982028

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

Color values

HEX#982028
RGBrgb(152, 32, 40)
HSLhsl(356, 65%, 36%)
HSVhsv(356, 79%, 60%)
CMYKcmyk(0%, 78.9%, 73.7%, 40.4%)
CIE-LABlab(33.70, 48.90, 26.68)
CIE-LCHlch(33.70, 55.70, 28.62°)
OKLaboklab(44.74% 0.1428 0.0608)
OKLCHoklch(44.74% 0.155 23.1)
XYZxyz(13.8500, 7.8638, 2.7957)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982028 #209890
analogous
#982064 #982028 #985420
triadic
#982028 #289820 #202898
tetradic
#982028 #649820 #209890 #542098
square
#982028 #649820 #209890 #542098
split-complementary
#982028 #209854 #206498
monochromatic
#330B0D #65151B #982028 #CB2B35 #DC5760

Accessibility & contrast

On white

8.16
#982028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982028
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982028#FFFFFF#000000##FFFFFF
##9820281.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982028;
/* rgb */ color: rgb(152, 32, 40);
/* oklch */ color: oklch(44.7% 0.155 23.1);
Tailwind
colors: {
  custom: {
    50: '#be6762',
    500: '#982028',
    950: '#000000',
  },
}
SCSS
$custom: #982028;
$custom-light: #be6762;
$custom-dark: #000000;
JSON
{
  "hex": "#982028",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 356,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4474,
    "c": 0.15518,
    "h": 23.1
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#982028
secondary
#54BFB8
accent
#E8DD40
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #982028

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

Preview Lab → · Contrast checker → · Palette generator →

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