#802B6E#802B6E

#802B6E is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.142 H 337.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#802B6E
RGBrgb(128, 43, 110)
HSLhsl(313, 50%, 34%)
HSVhsv(313, 66%, 50%)
CMYKcmyk(0%, 66.4%, 14.1%, 49.8%)
CIE-LABlab(32.80, 44.48, -20.35)
CIE-LCHlch(32.80, 48.92, 335.42°)
OKLaboklab(43.92% 0.1306 -0.0552)
OKLCHoklch(43.92% 0.142 337.1)
XYZxyz(12.5806, 7.4438, 15.5230)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B6E #2B803D
analogous
#672B80 #802B6E #802B43
triadic
#802B6E #6E802B #2B6E80
tetradic
#802B6E #80672B #2B803D #2B4380
square
#802B6E #80672B #2B803D #2B4380
split-complementary
#802B6E #43802B #2B8067
monochromatic
#240C1F #521C47 #802B6E #AE3A95 #C95DB2

Accessibility & contrast

On white

8.44
#802B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#802B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B6E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B6E#FFFFFF#000000##FFFFFF
##802B6E1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4570
Deuteranopia (green-blind)
#48526C
Tritanopia (blue-blind)
#872F48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802b6e;
/* rgb */ color: rgb(128, 43, 110);
/* oklch */ color: oklch(43.9% 0.142 337.1);
Tailwind
colors: {
  custom: {
    50: '#a86b97',
    500: '#802b6e',
    950: '#000000',
  },
}
SCSS
$custom: #802b6e;
$custom-light: #a86b97;
$custom-dark: #000000;
JSON
{
  "hex": "#802b6e",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 312.706,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43922,
    "c": 0.14178,
    "h": 337.1
  },
  "luminance": 0.07443
}

Semantic roles & 50–950 ramp

primary
#802B6E
secondary
#58AE6B
accent
#D96C4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #802B6E

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

Preview Lab → · Contrast checker → · Palette generator →

#802B6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva