#801838#801838

#801838 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.139 H 8.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#801838
RGBrgb(128, 24, 56)
HSLhsl(342, 68%, 30%)
HSVhsv(342, 81%, 50%)
CMYKcmyk(0%, 81.3%, 56.3%, 49.8%)
CIE-LABlab(28.19, 45.11, 8.17)
CIE-LCHlch(28.19, 45.85, 10.26°)
OKLaboklab(39.89% 0.1372 0.0208)
OKLCHoklch(39.89% 0.139 8.6)
XYZxyz(9.9435, 5.5294, 4.2843)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801838 #188060
analogous
#80186C #801838 #802C18
triadic
#801838 #388018 #183880
tetradic
#801838 #6C8018 #188060 #2C1880
square
#801838 #6C8018 #188060 #2C1880
split-complementary
#801838 #18802C #186C80
monochromatic
#1A050B #4C0E21 #801838 #B4224F #DA396A

Accessibility & contrast

On white

9.97
#801838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#801838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801838
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801838#FFFFFF#000000##FFFFFF
##8018381.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343539
Deuteranopia (green-blind)
#4F4A35
Tritanopia (blue-blind)
#8C0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #801838;
/* rgb */ color: rgb(128, 24, 56);
/* oklch */ color: oklch(39.9% 0.139 8.6);
Tailwind
colors: {
  custom: {
    50: '#ab616e',
    500: '#801838',
    950: '#000000',
  },
}
SCSS
$custom: #801838;
$custom-light: #ab616e;
$custom-dark: #000000;
JSON
{
  "hex": "#801838",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 341.538,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39887,
    "c": 0.1388,
    "h": 8.6
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#801838
secondary
#40B490
accent
#EBB63D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #801838

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

Preview Lab → · Contrast checker → · Palette generator →

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