#812E52#812E52

#812E52 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.2% C 0.120 H 356.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#812E52
RGBrgb(129, 46, 82)
HSLhsl(334, 47%, 34%)
HSVhsv(334, 64%, 51%)
CMYKcmyk(0%, 64.3%, 36.4%, 49.4%)
CIE-LABlab(32.33, 39.37, -3.04)
CIE-LCHlch(32.33, 39.49, 355.58°)
OKLaboklab(43.24% 0.1202 -0.0075)
OKLCHoklch(43.24% 0.12 356.4)
XYZxyz(11.5539, 7.2316, 8.7684)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E52 #2E815D
analogous
#812E7C #812E52 #81342E
triadic
#812E52 #52812E #2E5281
tetradic
#812E52 #7C812E #2E815D #342E81
square
#812E52 #7C812E #2E815D #342E81
split-complementary
#812E52 #2E8134 #2E7C81
monochromatic
#270E19 #541E35 #812E52 #AE3E6F #C7628E

Accessibility & contrast

On white

8.59
#812E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#812E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E52
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E52#FFFFFF#000000##FFFFFF
##812E521.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#525250
Tritanopia (blue-blind)
#8B273C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812e52;
/* rgb */ color: rgb(129, 46, 82);
/* oklch */ color: oklch(43.2% 0.120 356.4);
Tailwind
colors: {
  custom: {
    50: '#a96c82',
    500: '#812e52',
    950: '#000000',
  },
}
SCSS
$custom: #812e52;
$custom-light: #a96c82;
$custom-dark: #000000;
JSON
{
  "hex": "#812e52",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 333.976,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43238,
    "c": 0.12042,
    "h": 356.4
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#812E52
secondary
#5DAE8B
accent
#D79D51
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #812E52

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

Preview Lab → · Contrast checker → · Palette generator →

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