#982331#982331

#982331 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.152 H 19.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#982331
RGBrgb(152, 35, 49)
HSLhsl(353, 63%, 37%)
HSVhsv(353, 77%, 60%)
CMYKcmyk(0%, 77%, 67.8%, 40.4%)
CIE-LABlab(34.19, 48.37, 21.61)
CIE-LCHlch(34.19, 52.98, 24.07°)
OKLaboklab(45.15% 0.1431 0.0511)
OKLCHoklch(45.15% 0.152 19.6)
XYZxyz(14.1058, 8.1013, 3.7261)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982331 #23988A
analogous
#98236C #982331 #985023
triadic
#982331 #319823 #233198
tetradic
#982331 #6C9823 #23988A #502398
square
#982331 #6C9823 #23988A #502398
split-complementary
#982331 #239850 #236C98
monochromatic
#350C11 #661821 #982331 #CA2E41 #D95C6B

Accessibility & contrast

On white

8.02
#982331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#982331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982331
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982331#FFFFFF#000000##FFFFFF
##9823311.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982331;
/* rgb */ color: rgb(152, 35, 49);
/* oklch */ color: oklch(45.2% 0.152 19.6);
Tailwind
colors: {
  custom: {
    50: '#be6969',
    500: '#982331',
    950: '#000000',
  },
}
SCSS
$custom: #982331;
$custom-light: #be6969;
$custom-dark: #000000;
JSON
{
  "hex": "#982331",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 352.821,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45153,
    "c": 0.15197,
    "h": 19.6
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#982331
secondary
#59BEB2
accent
#E6D242
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #982331

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

Preview Lab → · Contrast checker → · Palette generator →

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