#982118#982118

#982118 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.156 H 29.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#982118
RGBrgb(152, 33, 24)
HSLhsl(4, 73%, 35%)
HSVhsv(4, 84%, 60%)
CMYKcmyk(0%, 78.3%, 84.2%, 40.4%)
CIE-LABlab(33.63, 47.98, 36.01)
CIE-LCHlch(33.63, 59.99, 36.89°)
OKLaboklab(44.63% 0.1364 0.0763)
OKLCHoklch(44.63% 0.156 29.2)
XYZxyz(13.6593, 7.8313, 1.6563)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982118 #188F98
analogous
#98184F #982118 #986118
triadic
#982118 #189821 #211898
tetradic
#982118 #4F9818 #188F98 #611898
square
#982118 #4F9818 #188F98 #611898
split-complementary
#982118 #189861 #184F98
monochromatic
#2E0A07 #631610 #982118 #CD2C20 #E25348

Accessibility & contrast

On white

8.18
#982118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#982118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982118
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982118#FFFFFF#000000##FFFFFF
##9821181.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E15
Deuteranopia (green-blind)
#645811
Tritanopia (blue-blind)
#A80020
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #982118;
/* rgb */ color: rgb(152, 33, 24);
/* oklch */ color: oklch(44.6% 0.156 29.2);
Tailwind
colors: {
  custom: {
    50: '#bf6756',
    500: '#982118',
    950: '#000000',
  },
}
SCSS
$custom: #982118;
$custom-light: #bf6756;
$custom-dark: #000000;
JSON
{
  "hex": "#982118",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 4.219,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.15632,
    "h": 29.2
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

primary
#982118
secondary
#48BBC4
accent
#E3EF38
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #982118

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

Preview Lab → · Contrast checker → · Palette generator →

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