#AC3F8A#AC3F8A
#AC3F8A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.165 H 342.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AC3F8A |
|---|---|
| RGB | rgb(172, 63, 138) |
| HSL | hsl(319, 46%, 46%) |
| HSV | hsv(319, 63%, 67%) |
| CMYK | cmyk(0%, 63.4%, 19.8%, 32.5%) |
| CIE-LAB | lab(44.47, 52.65, -19.10) |
| CIE-LCH | lch(44.47, 56.01, 340.06°) |
| OKLab | oklab(54.29% 0.1572 -0.0511) |
| OKLCH | oklch(54.29% 0.165 342) |
| XYZ | xyz(23.3788, 14.1628, 25.5422) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.55
Mediumvioletred
#C71585
ΔE00 5.62
Purpleish
#98568D
ΔE00 6.17
Light Plum
#9D5783
ΔE00 6.48
Purplish
#94568C
ΔE00 6.73
Medium Purple
#9E43A2
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC3F8A #3FAC61
analogous
#973FAC #AC3F8A #AC3F53
triadic
#AC3F8A #8AAC3F #3F8AAC
tetradic
#AC3F8A #AC973F #3FAC61 #3F53AC
square
#AC3F8A #AC973F #3FAC61 #3F53AC
split-complementary
#AC3F8A #53AC3F #3FAC97
monochromatic
#521E42 #7F2F66 #AC3F8A #C663A7 #D68FC0
Accessibility & contrast
On white
5.48
#AC3F8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#AC3F8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC3F8A
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC3F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC3F8A | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475E8C
Deuteranopia (green-blind)
#677087
Tritanopia (blue-blind)
#B6405F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ac3f8a; /* rgb */ color: rgb(172, 63, 138); /* oklch */ color: oklch(54.3% 0.165 342.0);
Tailwind
colors: {
custom: {
50: '#c87bac',
500: '#ac3f8a',
950: '#000000',
},
}SCSS
$custom: #ac3f8a; $custom-light: #c87bac; $custom-dark: #000000;
JSON
{
"hex": "#ac3f8a",
"rgb": {
"r": 172,
"g": 63,
"b": 138
},
"hsl": {
"h": 318.716,
"s": 46.383,
"l": 46.078
},
"oklch": {
"l": 0.54294,
"c": 0.16528,
"h": 342
},
"luminance": 0.14161
}Semantic roles & 50–950 ramp
primary
#AC3F8A
secondary
#86C198
accent
#D67B52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F