#982818#982818

#982818 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.3% C 0.151 H 31.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#982818
RGBrgb(152, 40, 24)
HSLhsl(8, 73%, 35%)
HSVhsv(8, 84%, 60%)
CMYKcmyk(0%, 73.7%, 84.2%, 40.4%)
CIE-LABlab(34.52, 45.50, 36.84)
CIE-LCHlch(34.52, 58.55, 39.00°)
OKLaboklab(45.3% 0.1287 0.0782)
OKLCHoklch(45.3% 0.151 31.3)
XYZxyz(13.8742, 8.2611, 1.7280)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982818 #188898
analogous
#981848 #982818 #986818
triadic
#982818 #189828 #281898
tetradic
#982818 #489818 #188898 #681898
square
#982818 #489818 #188898 #681898
split-complementary
#982818 #189868 #184898
monochromatic
#2E0C07 #631A10 #982818 #CD3620 #E25B48

Accessibility & contrast

On white

7.92
#982818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#982818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982818
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982818#FFFFFF#000000##FFFFFF
##9828181.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4115
Deuteranopia (green-blind)
#665A12
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982818;
/* rgb */ color: rgb(152, 40, 24);
/* oklch */ color: oklch(45.3% 0.151 31.3);
Tailwind
colors: {
  custom: {
    50: '#bf6a57',
    500: '#982818',
    950: '#000000',
  },
}
SCSS
$custom: #982818;
$custom-light: #bf6a57;
$custom-dark: #000000;
JSON
{
  "hex": "#982818",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 7.5,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45295,
    "c": 0.15058,
    "h": 31.3
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#982818
secondary
#48B4C4
accent
#D9EF38
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #982818

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

Preview Lab → · Contrast checker → · Palette generator →

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