#812751#812751

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

Color values

HEX#812751
RGBrgb(129, 39, 81)
HSLhsl(332, 54%, 33%)
HSVhsv(332, 70%, 51%)
CMYKcmyk(0%, 69.8%, 37.2%, 49.4%)
CIE-LABlab(31.15, 42.39, -4.14)
CIE-LCHlch(31.15, 42.59, 354.42°)
OKLaboklab(42.35% 0.1297 -0.0104)
OKLCHoklch(42.35% 0.13 355.4)
XYZxyz(11.2647, 6.7135, 8.4856)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812751 #278157
analogous
#81277E #812751 #812A27
triadic
#812751 #518127 #275181
tetradic
#812751 #7E8127 #278157 #2A2781
square
#812751 #7E8127 #278157 #2A2781
split-complementary
#812751 #27812A #277E81
monochromatic
#230B16 #521933 #812751 #B0356F #CC568D

Accessibility & contrast

On white

8.97
#812751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#812751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812751
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812751#FFFFFF#000000##FFFFFF
##8127511.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F52
Deuteranopia (green-blind)
#504F4F
Tritanopia (blue-blind)
#8B1F38
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812751;
/* rgb */ color: rgb(129, 39, 81);
/* oklch */ color: oklch(42.4% 0.130 355.4);
Tailwind
colors: {
  custom: {
    50: '#a96881',
    500: '#812751',
    950: '#000000',
  },
}
SCSS
$custom: #812751;
$custom-light: #a96881;
$custom-dark: #000000;
JSON
{
  "hex": "#812751",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 332,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.13011,
    "h": 355.4
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#812751
secondary
#53B185
accent
#DD994B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #812751

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

Preview Lab → · Contrast checker → · Palette generator →

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