#802452#802452

#802452 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.134 H 353.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#802452
RGBrgb(128, 36, 82)
HSLhsl(330, 56%, 32%)
HSVhsv(330, 72%, 50%)
CMYKcmyk(0%, 71.9%, 35.9%, 49.8%)
CIE-LABlab(30.55, 43.44, -5.71)
CIE-LCHlch(30.55, 43.82, 352.51°)
OKLaboklab(41.89% 0.1329 -0.0145)
OKLCHoklch(41.89% 0.134 353.8)
XYZxyz(11.0566, 6.4614, 8.6459)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802452 #248052
analogous
#802480 #802452 #802424
triadic
#802452 #528024 #245280
tetradic
#802452 #808024 #248052 #242480
square
#802452 #808024 #248052 #242480
split-complementary
#802452 #248024 #248080
monochromatic
#200915 #501733 #802452 #B03171 #CE508F

Accessibility & contrast

On white

9.16
#802452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#802452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802452
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802452#FFFFFF#000000##FFFFFF
##8024521.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#4E4E50
Tritanopia (blue-blind)
#8A1D37
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802452;
/* rgb */ color: rgb(128, 36, 82);
/* oklch */ color: oklch(41.9% 0.134 353.8);
Tailwind
colors: {
  custom: {
    50: '#a96682',
    500: '#802452',
    950: '#000000',
  },
}
SCSS
$custom: #802452;
$custom-light: #a96682;
$custom-dark: #000000;
JSON
{
  "hex": "#802452",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 330,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41888,
    "c": 0.13373,
    "h": 353.8
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#802452
secondary
#4EB280
accent
#DF9448
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #802452

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

Preview Lab → · Contrast checker → · Palette generator →

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