#801828#801828

#801828 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.138 H 18.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#801828
RGBrgb(128, 24, 40)
HSLhsl(351, 68%, 30%)
HSVhsv(351, 81%, 50%)
CMYKcmyk(0%, 81.3%, 68.8%, 49.8%)
CIE-LABlab(27.84, 44.00, 18.42)
CIE-LCHlch(27.84, 47.70, 22.71°)
OKLaboklab(39.51% 0.1306 0.0436)
OKLCHoklch(39.51% 0.138 18.5)
XYZxyz(9.6128, 5.3971, 2.5427)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801828 #188070
analogous
#80185C #801828 #803C18
triadic
#801828 #288018 #182880
tetradic
#801828 #5C8018 #188070 #3C1880
square
#801828 #5C8018 #188070 #3C1880
split-complementary
#801828 #18803C #185C80
monochromatic
#1A0508 #4C0E18 #801828 #B42238 #DA3951

Accessibility & contrast

On white

10.10
#801828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#801828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801828
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801828#FFFFFF#000000##FFFFFF
##8018281.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373428
Deuteranopia (green-blind)
#514A25
Tritanopia (blue-blind)
#8D001F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #801828;
/* rgb */ color: rgb(128, 24, 40);
/* oklch */ color: oklch(39.5% 0.138 18.5);
Tailwind
colors: {
  custom: {
    50: '#ac6061',
    500: '#801828',
    950: '#000000',
  },
}
SCSS
$custom: #801828;
$custom-light: #ac6061;
$custom-dark: #000000;
JSON
{
  "hex": "#801828",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 350.769,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.13763,
    "h": 18.5
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#801828
secondary
#40B4A2
accent
#EBD03D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #801828

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

Preview Lab → · Contrast checker → · Palette generator →

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