#982218#982218

#982218 is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.7% C 0.156 H 29.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#982218
RGBrgb(152, 34, 24)
HSLhsl(5, 73%, 35%)
HSVhsv(5, 84%, 60%)
CMYKcmyk(0%, 77.6%, 84.2%, 40.4%)
CIE-LABlab(33.75, 47.65, 36.12)
CIE-LCHlch(33.75, 59.79, 37.17°)
OKLaboklab(44.72% 0.1354 0.0766)
OKLCHoklch(44.72% 0.156 29.5)
XYZxyz(13.6875, 7.8876, 1.6657)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982218 #188E98
analogous
#98184E #982218 #986218
triadic
#982218 #189822 #221898
tetradic
#982218 #4E9818 #188E98 #621898
square
#982218 #4E9818 #188E98 #621898
split-complementary
#982218 #189862 #184E98
monochromatic
#2E0A07 #631610 #982218 #CD2E20 #E25448

Accessibility & contrast

On white

8.15
#982218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#982218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982218
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982218#FFFFFF#000000##FFFFFF
##9822181.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F15
Deuteranopia (green-blind)
#645912
Tritanopia (blue-blind)
#A80021
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #982218;
/* rgb */ color: rgb(152, 34, 24);
/* oklch */ color: oklch(44.7% 0.156 29.5);
Tailwind
colors: {
  custom: {
    50: '#bf6856',
    500: '#982218',
    950: '#000000',
  },
}
SCSS
$custom: #982218;
$custom-light: #bf6856;
$custom-dark: #000000;
JSON
{
  "hex": "#982218",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 4.688,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44718,
    "c": 0.15553,
    "h": 29.5
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#982218
secondary
#48BAC4
accent
#E1EF38
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #982218

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

Preview Lab → · Contrast checker → · Palette generator →

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