#802462#802462

#802462 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.143 H 343.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#802462
RGBrgb(128, 36, 98)
HSLhsl(320, 56%, 32%)
HSVhsv(320, 72%, 50%)
CMYKcmyk(0%, 71.9%, 23.4%, 49.8%)
CIE-LABlab(31.19, 45.57, -15.14)
CIE-LCHlch(31.19, 48.02, 341.62°)
OKLaboklab(42.57% 0.1372 -0.0404)
OKLCHoklch(42.57% 0.143 343.6)
XYZxyz(11.7380, 6.7340, 12.2345)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802462 #248042
analogous
#702480 #802462 #802434
triadic
#802462 #628024 #246280
tetradic
#802462 #807024 #248042 #243480
square
#802462 #807024 #248042 #243480
split-complementary
#802462 #348024 #248070
monochromatic
#200919 #50173D #802462 #B03187 #CE50A5

Accessibility & contrast

On white

8.95
#802462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#802462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802462
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802462#FFFFFF#000000##FFFFFF
##8024621.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4064
Deuteranopia (green-blind)
#494F60
Tritanopia (blue-blind)
#88243F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802462;
/* rgb */ color: rgb(128, 36, 98);
/* oklch */ color: oklch(42.6% 0.143 343.6);
Tailwind
colors: {
  custom: {
    50: '#a8678e',
    500: '#802462',
    950: '#000000',
  },
}
SCSS
$custom: #802462;
$custom-light: #a8678e;
$custom-dark: #000000;
JSON
{
  "hex": "#802462",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 98
  },
  "hsl": {
    "h": 319.565,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42572,
    "c": 0.143,
    "h": 343.6
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#802462
secondary
#4EB26F
accent
#DF7A48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #802462

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

Preview Lab → · Contrast checker → · Palette generator →

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