#801868#801868

#801868 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.8% C 0.161 H 339.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#801868
RGBrgb(128, 24, 104)
HSLhsl(314, 68%, 30%)
HSVhsv(314, 81%, 50%)
CMYKcmyk(0%, 81.3%, 18.8%, 49.8%)
CIE-LABlab(30.02, 50.57, -20.83)
CIE-LCHlch(30.02, 54.69, 337.61°)
OKLaboklab(41.81% 0.1508 -0.0564)
OKLCHoklch(41.81% 0.161 339.5)
XYZxyz(11.7277, 6.2431, 13.6814)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801868 #188030
analogous
#641880 #801868 #801834
triadic
#801868 #688018 #186880
tetradic
#801868 #806418 #188030 #183480
square
#801868 #806418 #188030 #183480
split-complementary
#801868 #348018 #188064
monochromatic
#1A0515 #4C0E3E #801868 #B42292 #DA39B5

Accessibility & contrast

On white

9.34
#801868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#801868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801868
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801868#FFFFFF#000000##FFFFFF
##8018681.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#434C66
Tritanopia (blue-blind)
#881D3F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801868;
/* rgb */ color: rgb(128, 24, 104);
/* oklch */ color: oklch(41.8% 0.161 339.5);
Tailwind
colors: {
  custom: {
    50: '#a86293',
    500: '#801868',
    950: '#000000',
  },
}
SCSS
$custom: #801868;
$custom-light: #a86293;
$custom-dark: #000000;
JSON
{
  "hex": "#801868",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 313.846,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.16097,
    "h": 339.5
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#801868
secondary
#40B45A
accent
#EB653D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #801868

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

Preview Lab → · Contrast checker → · Palette generator →

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