#862F6D#862F6D
#862F6D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.140 H 340.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #862F6D |
|---|---|
| RGB | rgb(134, 47, 109) |
| HSL | hsl(317, 48%, 35%) |
| HSV | hsv(317, 65%, 53%) |
| CMYK | cmyk(0%, 64.9%, 18.7%, 47.5%) |
| CIE-LAB | lab(34.41, 44.29, -17.14) |
| CIE-LCH | lch(34.41, 47.49, 338.85°) |
| OKLab | oklab(45.29% 0.1317 -0.046) |
| OKLCH | oklch(45.29% 0.14 340.7) |
| XYZ | xyz(13.6087, 8.2067, 15.3324) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.25
Grape
#6C3461
ΔE00 5.63
Red Violet
#9E0168
ΔE00 5.90
Light Eggplant
#894585
ΔE00 6.41
Warm Purple
#952E8F
ΔE00 6.95
Darkish Purple
#751973
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F6D #2F8648
analogous
#732F86 #862F6D #862F42
triadic
#862F6D #6D862F #2F6D86
tetradic
#862F6D #86732F #2F8648 #2F4286
square
#862F6D #86732F #2F8648 #2F4286
split-complementary
#862F6D #42862F #2F8673
monochromatic
#2B0F23 #591F48 #862F6D #B33F92 #C966AD
Accessibility & contrast
On white
7.95
#862F6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#862F6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F6D
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F6D | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34486F
Deuteranopia (green-blind)
#4E566B
Tritanopia (blue-blind)
#8E3149
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #862f6d; /* rgb */ color: rgb(134, 47, 109); /* oklch */ color: oklch(45.3% 0.140 340.7);
Tailwind
colors: {
custom: {
50: '#ac6e97',
500: '#862f6d',
950: '#000000',
},
}SCSS
$custom: #862f6d; $custom-light: #ac6e97; $custom-dark: #000000;
JSON
{
"hex": "#862f6d",
"rgb": {
"r": 134,
"g": 47,
"b": 109
},
"hsl": {
"h": 317.241,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.45286,
"c": 0.13953,
"h": 340.7
},
"luminance": 0.08205
}Semantic roles & 50–950 ramp
primary
#862F6D
secondary
#60B077
accent
#D87750
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070D
muted
#7F7A7E