#812E70#812E70

#812E70 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.140 H 336.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#812E70
RGBrgb(129, 46, 112)
HSLhsl(312, 47%, 34%)
HSVhsv(312, 64%, 51%)
CMYKcmyk(0%, 64.3%, 13.2%, 49.4%)
CIE-LABlab(33.55, 43.76, -20.44)
CIE-LCHlch(33.55, 48.30, 334.96°)
OKLaboklab(44.53% 0.1281 -0.0554)
OKLCHoklch(44.53% 0.14 336.6)
XYZxyz(12.9550, 7.7920, 16.1478)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E70 #2E813F
analogous
#692E81 #812E70 #812E47
triadic
#812E70 #70812E #2E7081
tetradic
#812E70 #81692E #2E813F #2E4781
square
#812E70 #81692E #2E813F #2E4781
split-complementary
#812E70 #47812E #2E8169
monochromatic
#270E22 #541E49 #812E70 #AE3E97 #C762B2

Accessibility & contrast

On white

8.21
#812E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#812E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E70
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E70#FFFFFF#000000##FFFFFF
##812E701.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304772
Deuteranopia (green-blind)
#49536E
Tritanopia (blue-blind)
#88324A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #812e70;
/* rgb */ color: rgb(129, 46, 112);
/* oklch */ color: oklch(44.5% 0.140 336.6);
Tailwind
colors: {
  custom: {
    50: '#a86d99',
    500: '#812e70',
    950: '#000000',
  },
}
SCSS
$custom: #812e70;
$custom-light: #a86d99;
$custom-dark: #000000;
JSON
{
  "hex": "#812e70",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 312.289,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44534,
    "c": 0.13958,
    "h": 336.6
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#812E70
secondary
#5DAE6E
accent
#D76C51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812E70

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

Preview Lab → · Contrast checker → · Palette generator →

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