#812052#812052

#812052 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.140 H 353.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#812052
RGBrgb(129, 32, 82)
HSLhsl(329, 60%, 32%)
HSVhsv(329, 75%, 51%)
CMYKcmyk(0%, 75.2%, 36.4%, 49.4%)
CIE-LABlab(30.18, 45.28, -6.23)
CIE-LCHlch(30.18, 45.71, 352.16°)
OKLaboklab(41.66% 0.1388 -0.0159)
OKLCHoklch(41.66% 0.14 353.5)
XYZxyz(11.0934, 6.3107, 8.6149)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812052 #20814F
analogous
#802081 #812052 #812022
triadic
#812052 #528120 #205281
tetradic
#812052 #818020 #20814F #202281
square
#812052 #818020 #20814F #202281
split-complementary
#812052 #228120 #208180
monochromatic
#1F0814 #501433 #812052 #B22C71 #D24990

Accessibility & contrast

On white

9.28
#812052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#812052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812052
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812052#FFFFFF#000000##FFFFFF
##8120521.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#8B1736
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #812052;
/* rgb */ color: rgb(129, 32, 82);
/* oklch */ color: oklch(41.7% 0.140 353.5);
Tailwind
colors: {
  custom: {
    50: '#aa6582',
    500: '#812052',
    950: '#000000',
  },
}
SCSS
$custom: #812052;
$custom-light: #aa6582;
$custom-dark: #000000;
JSON
{
  "hex": "#812052",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 329.072,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41655,
    "c": 0.13969,
    "h": 353.5
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#812052
secondary
#49B47D
accent
#E39144
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #812052

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

Preview Lab → · Contrast checker → · Palette generator →

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