#982718#982718

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

Color values

HEX#982718
RGBrgb(152, 39, 24)
HSLhsl(7, 73%, 35%)
HSVhsv(7, 84%, 60%)
CMYKcmyk(0%, 74.3%, 84.2%, 40.4%)
CIE-LABlab(34.38, 45.88, 36.72)
CIE-LCHlch(34.38, 58.76, 38.67°)
OKLaboklab(45.19% 0.1299 0.0779)
OKLCHoklch(45.19% 0.151 31)
XYZxyz(13.8409, 8.1946, 1.7169)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982718 #188998
analogous
#981849 #982718 #986718
triadic
#982718 #189827 #271898
tetradic
#982718 #499818 #188998 #671898
square
#982718 #499818 #188998 #671898
split-complementary
#982718 #189867 #184998
monochromatic
#2E0C07 #631910 #982718 #CD3520 #E25A48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982718#FFFFFF#000000##FFFFFF
##9827181.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)
#494115
Deuteranopia (green-blind)
#655A12
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982718;
/* rgb */ color: rgb(152, 39, 24);
/* oklch */ color: oklch(45.2% 0.151 31.0);
Tailwind
colors: {
  custom: {
    50: '#bf6a57',
    500: '#982718',
    950: '#000000',
  },
}
SCSS
$custom: #982718;
$custom-light: #bf6a57;
$custom-dark: #000000;
JSON
{
  "hex": "#982718",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 7.031,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45194,
    "c": 0.15143,
    "h": 31
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#982718
secondary
#48B5C4
accent
#DAEF38
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #982718

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

Preview Lab → · Contrast checker → · Palette generator →

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