#802468#802468

#802468 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.147 H 340.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#802468
RGBrgb(128, 36, 104)
HSLhsl(316, 56%, 32%)
HSVhsv(316, 72%, 50%)
CMYKcmyk(0%, 71.9%, 18.8%, 49.8%)
CIE-LABlab(31.47, 46.46, -18.58)
CIE-LCHlch(31.47, 50.04, 338.20°)
OKLaboklab(42.86% 0.1383 -0.0501)
OKLCHoklch(42.86% 0.147 340.1)
XYZxyz(12.0320, 6.8516, 13.7828)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802468 #24803C
analogous
#6A2480 #802468 #80243A
triadic
#802468 #688024 #246880
tetradic
#802468 #806A24 #24803C #243A80
square
#802468 #806A24 #24803C #243A80
split-complementary
#802468 #3A8024 #24806A
monochromatic
#20091A #501741 #802468 #B0318F #CE50AD

Accessibility & contrast

On white

8.86
#802468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#802468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802468
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802468#FFFFFF#000000##FFFFFF
##8024681.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A416A
Deuteranopia (green-blind)
#474F66
Tritanopia (blue-blind)
#882742
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802468;
/* rgb */ color: rgb(128, 36, 104);
/* oklch */ color: oklch(42.9% 0.147 340.1);
Tailwind
colors: {
  custom: {
    50: '#a86793',
    500: '#802468',
    950: '#000000',
  },
}
SCSS
$custom: #802468;
$custom-light: #a86793;
$custom-dark: #000000;
JSON
{
  "hex": "#802468",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 104
  },
  "hsl": {
    "h": 315.652,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42861,
    "c": 0.14711,
    "h": 340.1
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#802468
secondary
#4EB268
accent
#DF7048
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #802468

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

Preview Lab → · Contrast checker → · Palette generator →

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