#802B5F#802B5F

#802B5F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.131 H 346.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#802B5F
RGBrgb(128, 43, 95)
HSLhsl(323, 50%, 34%)
HSVhsv(323, 66%, 50%)
CMYKcmyk(0%, 66.4%, 25.8%, 49.8%)
CIE-LABlab(32.13, 42.19, -11.77)
CIE-LCHlch(32.13, 43.80, 344.41°)
OKLaboklab(43.22% 0.1274 -0.0311)
OKLCHoklch(43.22% 0.131 346.3)
XYZxyz(11.8320, 7.1443, 11.5801)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B5F #2B804C
analogous
#762B80 #802B5F #802B34
triadic
#802B5F #5F802B #2B5F80
tetradic
#802B5F #80762B #2B804C #2B3480
square
#802B5F #80762B #2B804C #2B3480
split-complementary
#802B5F #34802B #2B8076
monochromatic
#240C1B #521C3D #802B5F #AE3A81 #C95D9F

Accessibility & contrast

On white

8.65
#802B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#802B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B5F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B5F#FFFFFF#000000##FFFFFF
##802B5F1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344261
Deuteranopia (green-blind)
#4D515D
Tritanopia (blue-blind)
#892941
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802b5f;
/* rgb */ color: rgb(128, 43, 95);
/* oklch */ color: oklch(43.2% 0.131 346.3);
Tailwind
colors: {
  custom: {
    50: '#a86a8c',
    500: '#802b5f',
    950: '#000000',
  },
}
SCSS
$custom: #802b5f;
$custom-light: #a86a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#802b5f",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 323.294,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43219,
    "c": 0.13114,
    "h": 346.3
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#802B5F
secondary
#58AE7A
accent
#D9844F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #802B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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