#982231#982231

#982231 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.1% C 0.153 H 19.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#982231
RGBrgb(152, 34, 49)
HSLhsl(352, 63%, 36%)
HSVhsv(352, 78%, 60%)
CMYKcmyk(0%, 77.6%, 67.8%, 40.4%)
CIE-LABlab(34.07, 48.71, 21.46)
CIE-LCHlch(34.07, 53.23, 23.77°)
OKLaboklab(45.06% 0.1442 0.0507)
OKLCHoklch(45.06% 0.153 19.4)
XYZxyz(14.0768, 8.0433, 3.7164)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982231 #229889
analogous
#98226C #982231 #984E22
triadic
#982231 #319822 #223198
tetradic
#982231 #6C9822 #229889 #4E2298
square
#982231 #6C9822 #229889 #4E2298
split-complementary
#982231 #22984E #226C98
monochromatic
#340C11 #661721 #982231 #CA2D41 #DA5A6B

Accessibility & contrast

On white

8.05
#982231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#982231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982231
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982231#FFFFFF#000000##FFFFFF
##9822311.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982231;
/* rgb */ color: rgb(152, 34, 49);
/* oklch */ color: oklch(45.1% 0.153 19.4);
Tailwind
colors: {
  custom: {
    50: '#be6869',
    500: '#982231',
    950: '#000000',
  },
}
SCSS
$custom: #982231;
$custom-light: #be6869;
$custom-dark: #000000;
JSON
{
  "hex": "#982231",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 352.373,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45064,
    "c": 0.15288,
    "h": 19.4
  },
  "luminance": 0.08041
}

Semantic roles & 50–950 ramp

primary
#982231
secondary
#57BEB1
accent
#E6D141
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #982231

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

Preview Lab → · Contrast checker → · Palette generator →

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