#802E52#802E52

#802E52 is a dark, moderate pink. Relative luminance 0.072; OKLCH L 43.1% C 0.119 H 356.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#802E52
RGBrgb(128, 46, 82)
HSLhsl(334, 47%, 34%)
HSVhsv(334, 64%, 50%)
CMYKcmyk(0%, 64.1%, 35.9%, 49.8%)
CIE-LABlab(32.15, 39.04, -3.32)
CIE-LCHlch(32.15, 39.18, 355.14°)
OKLaboklab(43.08% 0.1191 -0.0082)
OKLCHoklch(43.08% 0.119 356)
XYZxyz(11.4027, 7.1536, 8.7613)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E52 #2E805C
analogous
#802E7B #802E52 #80332E
triadic
#802E52 #52802E #2E5280
tetradic
#802E52 #7B802E #2E805C #332E80
square
#802E52 #7B802E #2E805C #332E80
split-complementary
#802E52 #2E8033 #2E7B80
monochromatic
#260E18 #531E35 #802E52 #AD3E6F #C7628E

Accessibility & contrast

On white

8.64
#802E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802E52
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E52#FFFFFF#000000##FFFFFF
##802E521.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#525150
Tritanopia (blue-blind)
#8A283C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802e52;
/* rgb */ color: rgb(128, 46, 82);
/* oklch */ color: oklch(43.1% 0.119 356.0);
Tailwind
colors: {
  custom: {
    50: '#a86c82',
    500: '#802e52',
    950: '#000000',
  },
}
SCSS
$custom: #802e52;
$custom-light: #a86c82;
$custom-dark: #000000;
JSON
{
  "hex": "#802e52",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 333.659,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43075,
    "c": 0.11941,
    "h": 356
  },
  "luminance": 0.07152
}

Semantic roles & 50–950 ramp

primary
#802E52
secondary
#5DAD8A
accent
#D79C51
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802E52

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

Preview Lab → · Contrast checker → · Palette generator →

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