#982517#982517

#982517 is a dark, vivid red. Relative luminance 0.081; OKLCH L 45.0% C 0.153 H 30.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#982517
RGBrgb(152, 37, 23)
HSLhsl(7, 74%, 34%)
HSVhsv(7, 85%, 60%)
CMYKcmyk(0%, 75.7%, 84.9%, 40.4%)
CIE-LABlab(34.11, 46.58, 36.99)
CIE-LCHlch(34.11, 59.48, 38.45°)
OKLaboklab(44.99% 0.1319 0.0781)
OKLCHoklch(44.99% 0.153 30.6)
XYZxyz(13.7668, 8.0626, 1.6418)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982517 #178A98
analogous
#981749 #982517 #986617
triadic
#982517 #179825 #251798
tetradic
#982517 #499817 #178A98 #661798
square
#982517 #499817 #178A98 #661798
split-complementary
#982517 #179866 #174998
monochromatic
#2E0B07 #63180F #982517 #CD321F #E35746

Accessibility & contrast

On white

8.04
#982517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982517
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982517#FFFFFF#000000##FFFFFF
##9825171.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982517;
/* rgb */ color: rgb(152, 37, 23);
/* oklch */ color: oklch(45.0% 0.153 30.6);
Tailwind
colors: {
  custom: {
    50: '#bf6956',
    500: '#982517',
    950: '#000000',
  },
}
SCSS
$custom: #982517;
$custom-light: #bf6956;
$custom-dark: #000000;
JSON
{
  "hex": "#982517",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 6.512,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44988,
    "c": 0.15326,
    "h": 30.6
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#982517
secondary
#47B7C4
accent
#DCF037
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #982517

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

Preview Lab → · Contrast checker → · Palette generator →

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