#982717#982717

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

Color values

HEX#982717
RGBrgb(152, 39, 23)
HSLhsl(7, 74%, 34%)
HSVhsv(7, 85%, 60%)
CMYKcmyk(0%, 74.3%, 84.9%, 40.4%)
CIE-LABlab(34.38, 45.85, 37.23)
CIE-LCHlch(34.38, 59.06, 39.08°)
OKLaboklab(45.18% 0.1296 0.0787)
OKLCHoklch(45.18% 0.152 31.3)
XYZxyz(13.8307, 8.1905, 1.6631)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982717 #178898
analogous
#981748 #982717 #986817
triadic
#982717 #179827 #271798
tetradic
#982717 #489817 #178898 #681798
square
#982717 #489817 #178898 #681798
split-complementary
#982717 #179868 #174898
monochromatic
#2E0C07 #63190F #982717 #CD351F #E35A46

Accessibility & contrast

On white

7.96
#982717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#982717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982717
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982717#FFFFFF#000000##FFFFFF
##9827171.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494114
Deuteranopia (green-blind)
#655A11
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982717;
/* rgb */ color: rgb(152, 39, 23);
/* oklch */ color: oklch(45.2% 0.152 31.3);
Tailwind
colors: {
  custom: {
    50: '#bf6a56',
    500: '#982717',
    950: '#000000',
  },
}
SCSS
$custom: #982717;
$custom-light: #bf6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#982717",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 7.442,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.15158,
    "h": 31.3
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#982717
secondary
#47B5C4
accent
#D9F037
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #982717

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

Preview Lab → · Contrast checker → · Palette generator →

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