#812752#812752

#812752 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.131 H 354.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#812752
RGBrgb(129, 39, 82)
HSLhsl(331, 54%, 33%)
HSVhsv(331, 70%, 51%)
CMYKcmyk(0%, 69.8%, 36.4%, 49.4%)
CIE-LABlab(31.18, 42.51, -4.74)
CIE-LCHlch(31.18, 42.77, 353.63°)
OKLaboklab(42.39% 0.13 -0.012)
OKLCHoklch(42.39% 0.131 354.7)
XYZxyz(11.3024, 6.7287, 8.6846)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812752 #278156
analogous
#81277F #812752 #812927
triadic
#812752 #528127 #275281
tetradic
#812752 #7F8127 #278156 #292781
square
#812752 #7F8127 #278156 #292781
split-complementary
#812752 #278129 #277F81
monochromatic
#230B16 #521934 #812752 #B03570 #CC568F

Accessibility & contrast

On white

8.95
#812752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#812752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812752
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812752#FFFFFF#000000##FFFFFF
##8127521.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F53
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#8B2039
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812752;
/* rgb */ color: rgb(129, 39, 82);
/* oklch */ color: oklch(42.4% 0.131 354.7);
Tailwind
colors: {
  custom: {
    50: '#a96882',
    500: '#812752',
    950: '#000000',
  },
}
SCSS
$custom: #812752;
$custom-light: #a96882;
$custom-dark: #000000;
JSON
{
  "hex": "#812752",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 82
  },
  "hsl": {
    "h": 331.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.13058,
    "h": 354.7
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#812752
secondary
#53B184
accent
#DD974B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #812752

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

Preview Lab → · Contrast checker → · Palette generator →

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