#862F68#862F68
#862F68 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.136 H 343.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #862F68 |
|---|---|
| RGB | rgb(134, 47, 104) |
| HSL | hsl(321, 48%, 35%) |
| HSV | hsv(321, 65%, 53%) |
| CMYK | cmyk(0%, 64.9%, 22.4%, 47.5%) |
| CIE-LAB | lab(34.19, 43.53, -14.29) |
| CIE-LCH | lch(34.19, 45.82, 341.82°) |
| OKLab | oklab(45.06% 0.1306 -0.0381) |
| OKLCH | oklch(45.06% 0.136 343.7) |
| XYZ | xyz(13.3471, 8.1021, 13.9549) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.57
Red Violet
#9E0168
ΔE00 5.60
Grape
#6C3461
ΔE00 5.64
Dark Magenta
#960056
ΔE00 6.79
Velvet
#750851
ΔE00 7.05
Deep Magenta
#A0025C
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F68 #2F864D
analogous
#782F86 #862F68 #862F3C
triadic
#862F68 #68862F #2F6886
tetradic
#862F68 #86782F #2F864D #2F3C86
square
#862F68 #86782F #2F864D #2F3C86
split-complementary
#862F68 #3C862F #2F8678
monochromatic
#2B0F22 #591F45 #862F68 #B33F8B #C966A7
Accessibility & contrast
On white
8.01
#862F68 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#862F68 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F68
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F68 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F68 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37476A
Deuteranopia (green-blind)
#505666
Tritanopia (blue-blind)
#8E2F47
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #862f68; /* rgb */ color: rgb(134, 47, 104); /* oklch */ color: oklch(45.1% 0.136 343.7);
Tailwind
colors: {
custom: {
50: '#ac6d93',
500: '#862f68',
950: '#000000',
},
}SCSS
$custom: #862f68; $custom-light: #ac6d93; $custom-dark: #000000;
JSON
{
"hex": "#862f68",
"rgb": {
"r": 134,
"g": 47,
"b": 104
},
"hsl": {
"h": 320.69,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.45058,
"c": 0.13603,
"h": 343.7
},
"luminance": 0.08101
}Semantic roles & 50–950 ramp
primary
#862F68
secondary
#60B07C
accent
#D87F50
background
#FAF6F9
surface
#F5ECF1
border
#CFC7CB
text
#10070D
muted
#7F7A7E