#982427#982427

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

Color values

HEX#982427
RGBrgb(152, 36, 39)
HSLhsl(358, 62%, 37%)
HSVhsv(358, 76%, 60%)
CMYKcmyk(0%, 76.3%, 74.3%, 40.4%)
CIE-LABlab(34.16, 47.52, 27.84)
CIE-LCHlch(34.16, 55.07, 30.36°)
OKLaboklab(45.08% 0.1382 0.0631)
OKLCHoklch(45.08% 0.152 24.5)
XYZxyz(13.9476, 8.0858, 2.7454)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982427 #249895
analogous
#982461 #982427 #985B24
triadic
#982427 #279824 #242798
tetradic
#982427 #619824 #249895 #5B2498
square
#982427 #619824 #249895 #5B2498
split-complementary
#982427 #24985B #246198
monochromatic
#350D0E #67181A #982427 #C93034 #D95E61

Accessibility & contrast

On white

8.03
#982427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982427
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982427#FFFFFF#000000##FFFFFF
##9824271.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474026
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#A80027
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982427;
/* rgb */ color: rgb(152, 36, 39);
/* oklch */ color: oklch(45.1% 0.152 24.5);
Tailwind
colors: {
  custom: {
    50: '#be6961',
    500: '#982427',
    950: '#000000',
  },
}
SCSS
$custom: #982427;
$custom-light: #be6961;
$custom-dark: #000000;
JSON
{
  "hex": "#982427",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 39
  },
  "hsl": {
    "h": 358.448,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4508,
    "c": 0.1519,
    "h": 24.5
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#982427
secondary
#5ABEBB
accent
#E5E143
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #982427

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

Preview Lab → · Contrast checker → · Palette generator →

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