#982417#982417

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

Color values

HEX#982417
RGBrgb(152, 36, 23)
HSLhsl(6, 74%, 34%)
HSVhsv(6, 85%, 60%)
CMYKcmyk(0%, 76.3%, 84.9%, 40.4%)
CIE-LABlab(33.99, 46.93, 36.87)
CIE-LCHlch(33.99, 59.69, 38.15°)
OKLaboklab(44.89% 0.133 0.0779)
OKLCHoklch(44.89% 0.154 30.4)
XYZxyz(13.7361, 8.0012, 1.6316)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982417 #178B98
analogous
#98174A #982417 #986517
triadic
#982417 #179824 #241798
tetradic
#982417 #4A9817 #178B98 #651798
square
#982417 #4A9817 #178B98 #651798
split-complementary
#982417 #179865 #174A98
monochromatic
#2E0B07 #63170F #982417 #CD311F #E35646

Accessibility & contrast

On white

8.08
#982417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982417
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982417#FFFFFF#000000##FFFFFF
##9824171.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484014
Deuteranopia (green-blind)
#645910
Tritanopia (blue-blind)
#A80022
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982417;
/* rgb */ color: rgb(152, 36, 23);
/* oklch */ color: oklch(44.9% 0.154 30.4);
Tailwind
colors: {
  custom: {
    50: '#bf6856',
    500: '#982417',
    950: '#000000',
  },
}
SCSS
$custom: #982417;
$custom-light: #bf6856;
$custom-dark: #000000;
JSON
{
  "hex": "#982417",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 6.047,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44893,
    "c": 0.15407,
    "h": 30.4
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#982417
secondary
#47B7C4
accent
#DEF037
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #982417

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

Preview Lab → · Contrast checker → · Palette generator →

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