#982131#982131

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

Color values

HEX#982131
RGBrgb(152, 33, 49)
HSLhsl(352, 64%, 36%)
HSVhsv(352, 78%, 60%)
CMYKcmyk(0%, 78.3%, 67.8%, 40.4%)
CIE-LABlab(33.96, 49.04, 21.31)
CIE-LCHlch(33.96, 53.47, 23.49°)
OKLaboklab(44.98% 0.1453 0.0504)
OKLCHoklch(44.98% 0.154 19.1)
XYZxyz(14.0487, 7.9870, 3.7070)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982131 #219888
analogous
#98216D #982131 #984D21
triadic
#982131 #319821 #213198
tetradic
#982131 #6D9821 #219888 #4D2198
square
#982131 #6D9821 #219888 #4D2198
split-complementary
#982131 #21984D #216D98
monochromatic
#330B11 #661621 #982131 #CA2C41 #DB596A

Accessibility & contrast

On white

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

On black

2.60
#982131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##982131#FFFFFF#000000##FFFFFF
##9821311.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444031
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#A70028
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982131;
/* rgb */ color: rgb(152, 33, 49);
/* oklch */ color: oklch(45.0% 0.154 19.1);
Tailwind
colors: {
  custom: {
    50: '#be6869',
    500: '#982131',
    950: '#000000',
  },
}
SCSS
$custom: #982131;
$custom-light: #be6869;
$custom-dark: #000000;
JSON
{
  "hex": "#982131",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 351.933,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44977,
    "c": 0.15376,
    "h": 19.1
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

primary
#982131
secondary
#56BFB1
accent
#E7D140
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #982131

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

Preview Lab → · Contrast checker → · Palette generator →

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