#982431#982431

#982431 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.2% C 0.151 H 19.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#982431
RGBrgb(152, 36, 49)
HSLhsl(353, 62%, 37%)
HSVhsv(353, 76%, 60%)
CMYKcmyk(0%, 76.3%, 67.8%, 40.4%)
CIE-LABlab(34.32, 48.03, 21.76)
CIE-LCHlch(34.32, 52.73, 24.37°)
OKLaboklab(45.25% 0.1421 0.0514)
OKLCHoklch(45.25% 0.151 19.9)
XYZxyz(14.1357, 8.1610, 3.7361)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982431 #24988B
analogous
#98246B #982431 #985124
triadic
#982431 #319824 #243198
tetradic
#982431 #6B9824 #24988B #512498
square
#982431 #6B9824 #24988B #512498
split-complementary
#982431 #249851 #246B98
monochromatic
#350D11 #671821 #982431 #C93041 #D95E6B

Accessibility & contrast

On white

7.98
#982431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#982431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982431
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982431#FFFFFF#000000##FFFFFF
##9824311.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454131
Deuteranopia (green-blind)
#635A2E
Tritanopia (blue-blind)
#A7002A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982431;
/* rgb */ color: rgb(152, 36, 49);
/* oklch */ color: oklch(45.2% 0.151 19.9);
Tailwind
colors: {
  custom: {
    50: '#be6969',
    500: '#982431',
    950: '#000000',
  },
}
SCSS
$custom: #982431;
$custom-light: #be6969;
$custom-dark: #000000;
JSON
{
  "hex": "#982431",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 49
  },
  "hsl": {
    "h": 353.276,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.15106,
    "h": 19.9
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#982431
secondary
#5ABEB2
accent
#E5D343
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #982431

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

Preview Lab → · Contrast checker → · Palette generator →

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