#812758#812758

#812758 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.134 H 350.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#812758
RGBrgb(129, 39, 88)
HSLhsl(327, 54%, 33%)
HSVhsv(327, 70%, 51%)
CMYKcmyk(0%, 69.8%, 31.8%, 49.4%)
CIE-LABlab(31.40, 43.27, -8.33)
CIE-LCHlch(31.40, 44.06, 349.11°)
OKLaboklab(42.63% 0.1319 -0.0216)
OKLCHoklch(42.63% 0.134 350.7)
XYZxyz(11.5408, 6.8240, 9.9400)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812758 #278150
analogous
#7D2781 #812758 #81272B
triadic
#812758 #588127 #275881
tetradic
#812758 #817D27 #278150 #272B81
square
#812758 #817D27 #278150 #272B81
split-complementary
#812758 #2B8127 #27817D
monochromatic
#230B18 #521938 #812758 #B03578 #CC5696

Accessibility & contrast

On white

8.88
#812758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#812758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812758
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812758#FFFFFF#000000##FFFFFF
##8127581.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344059
Deuteranopia (green-blind)
#4E5056
Tritanopia (blue-blind)
#8B223C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #812758;
/* rgb */ color: rgb(129, 39, 88);
/* oklch */ color: oklch(42.6% 0.134 350.7);
Tailwind
colors: {
  custom: {
    50: '#a96887',
    500: '#812758',
    950: '#000000',
  },
}
SCSS
$custom: #812758;
$custom-light: #a96887;
$custom-dark: #000000;
JSON
{
  "hex": "#812758",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 327.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.13364,
    "h": 350.7
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#812758
secondary
#53B17E
accent
#DD8D4B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #812758

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

Preview Lab → · Contrast checker → · Palette generator →

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