#812470#812470
#812470 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.154 H 336.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #812470 |
|---|---|
| RGB | rgb(129, 36, 112) |
| HSL | hsl(311, 56%, 32%) |
| HSV | hsv(311, 72%, 51%) |
| CMYK | cmyk(0%, 72.1%, 13.2%, 49.4%) |
| CIE-LAB | lab(32.03, 47.97, -22.80) |
| CIE-LCH | lch(32.03, 53.11, 334.58°) |
| OKLab | oklab(43.43% 0.1406 -0.0621) |
| OKLCH | oklch(43.43% 0.154 336.2) |
| XYZ | xyz(12.6090, 7.0998, 16.0324) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.04
Purple
#800080
ΔE00 5.59
Rich Purple
#720058
ΔE00 6.02
Grape
#6C3461
ΔE00 6.13
Darkmagenta
#8B008B
ΔE00 6.19
Bruise
#7E4071
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#812470 #248135
analogous
#642481 #812470 #812441
triadic
#812470 #708124 #247081
tetradic
#812470 #816424 #248135 #244181
square
#812470 #816424 #248135 #244181
split-complementary
#812470 #418124 #248164
monochromatic
#21091D #511746 #812470 #B1319A #CE51B7
Accessibility & contrast
On white
8.68
#812470 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#812470 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #812470
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##812470 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##812470 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254272
Deuteranopia (green-blind)
#45506E
Tritanopia (blue-blind)
#882A47
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #812470; /* rgb */ color: rgb(129, 36, 112); /* oklch */ color: oklch(43.4% 0.154 336.2);
Tailwind
colors: {
custom: {
50: '#a96899',
500: '#812470',
950: '#000000',
},
}SCSS
$custom: #812470; $custom-light: #a96899; $custom-dark: #000000;
JSON
{
"hex": "#812470",
"rgb": {
"r": 129,
"g": 36,
"b": 112
},
"hsl": {
"h": 310.968,
"s": 56.364,
"l": 32.353
},
"oklch": {
"l": 0.43433,
"c": 0.15366,
"h": 336.2
},
"luminance": 0.07099
}Semantic roles & 50–950 ramp
primary
#812470
secondary
#4EB261
accent
#E06448
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E