#811A52#811A52

#811A52 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.147 H 352.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#811A52
RGBrgb(129, 26, 82)
HSLhsl(327, 66%, 30%)
HSVhsv(327, 80%, 51%)
CMYKcmyk(0%, 79.8%, 36.4%, 49.4%)
CIE-LABlab(29.45, 47.34, -7.33)
CIE-LCHlch(29.45, 47.91, 351.20°)
OKLaboklab(41.12% 0.1453 -0.0188)
OKLCHoklch(41.12% 0.147 352.6)
XYZxyz(10.9463, 6.0165, 8.5659)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811A52 #1A8149
analogous
#7D1A81 #811A52 #811A1E
triadic
#811A52 #52811A #1A5281
tetradic
#811A52 #817D1A #1A8149 #1A1E81
square
#811A52 #817D1A #1A8149 #1A1E81
split-complementary
#811A52 #1E811A #1A817D
monochromatic
#1B0511 #4E1032 #811A52 #B42472 #D83D91

Accessibility & contrast

On white

9.53
#811A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#811A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811A52
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811A52#FFFFFF#000000##FFFFFF
##811A521.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#4B4C50
Tritanopia (blue-blind)
#8B0F34
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #811a52;
/* rgb */ color: rgb(129, 26, 82);
/* oklch */ color: oklch(41.1% 0.147 352.6);
Tailwind
colors: {
  custom: {
    50: '#aa6282',
    500: '#811a52',
    950: '#000000',
  },
}
SCSS
$custom: #811a52;
$custom-light: #aa6282;
$custom-dark: #000000;
JSON
{
  "hex": "#811a52",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 327.379,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.14651,
    "h": 352.6
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#811A52
secondary
#42B576
accent
#E98C3E
background
#FAF6F7
surface
#F5EBEE
border
#CFC6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #811A52

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

Preview Lab → · Contrast checker → · Palette generator →

#811A52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva