#802862#802862

#802862 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.137 H 344.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#802862
RGBrgb(128, 40, 98)
HSLhsl(320, 52%, 33%)
HSVhsv(320, 69%, 50%)
CMYKcmyk(0%, 68.8%, 23.4%, 49.8%)
CIE-LABlab(31.78, 43.93, -14.24)
CIE-LCHlch(31.78, 46.18, 342.04°)
OKLaboklab(43% 0.1321 -0.0379)
OKLCHoklch(43% 0.137 344)
XYZxyz(11.8659, 6.9898, 12.2772)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802862 #288046
analogous
#722880 #802862 #802836
triadic
#802862 #628028 #286280
tetradic
#802862 #807228 #288046 #283680
square
#802862 #807228 #288046 #283680
split-complementary
#802862 #368028 #288072
monochromatic
#230B1B #51193E #802862 #AF3786 #CB58A3

Accessibility & contrast

On white

8.76
#802862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#802862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802862
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802862#FFFFFF#000000##FFFFFF
##8028621.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314164
Deuteranopia (green-blind)
#4B5060
Tritanopia (blue-blind)
#882841
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802862;
/* rgb */ color: rgb(128, 40, 98);
/* oklch */ color: oklch(43.0% 0.137 344.0);
Tailwind
colors: {
  custom: {
    50: '#a8698e',
    500: '#802862',
    950: '#000000',
  },
}
SCSS
$custom: #802862;
$custom-light: #a8698e;
$custom-dark: #000000;
JSON
{
  "hex": "#802862",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 320.455,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43004,
    "c": 0.13748,
    "h": 344
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#802862
secondary
#54B073
accent
#DC7D4C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #802862

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

Preview Lab → · Contrast checker → · Palette generator →

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