#A23C8D#A23C8D
#A23C8D is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.165 H 336.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A23C8D |
|---|---|
| RGB | rgb(162, 60, 141) |
| HSL | hsl(312, 46%, 44%) |
| HSV | hsv(312, 63%, 64%) |
| CMYK | cmyk(0%, 63%, 13%, 36.5%) |
| CIE-LAB | lab(42.52, 51.59, -24.05) |
| CIE-LCH | lch(42.52, 56.92, 335.00°) |
| OKLab | oklab(52.59% 0.151 -0.0652) |
| OKLCH | oklch(52.59% 0.165 336.6) |
| XYZ | xyz(21.3241, 12.8379, 26.5490) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.87
Medium Purple
#9E43A2
ΔE00 4.72
Warm Purple
#952E8F
ΔE00 4.74
Light Eggplant
#894585
ΔE00 5.08
Purpleish
#98568D
ΔE00 6.29
Purplish
#94568C
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23C8D #3CA251
analogous
#843CA2 #A23C8D #A23C5A
triadic
#A23C8D #8DA23C #3C8DA2
tetradic
#A23C8D #A2843C #3CA251 #3C5AA2
square
#A23C8D #A2843C #3CA251 #3C5AA2
split-complementary
#A23C8D #5AA23C #3CA284
monochromatic
#491B3F #752B66 #A23C8D #C259AC #D286C3
Accessibility & contrast
On white
5.89
#A23C8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#A23C8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23C8D
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23C8D | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5A8F
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#AA415F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a23c8d; /* rgb */ color: rgb(162, 60, 141); /* oklch */ color: oklch(52.6% 0.165 336.6);
Tailwind
colors: {
custom: {
50: '#c078ae',
500: '#a23c8d',
950: '#000000',
},
}SCSS
$custom: #a23c8d; $custom-light: #c078ae; $custom-dark: #000000;
JSON
{
"hex": "#a23c8d",
"rgb": {
"r": 162,
"g": 60,
"b": 141
},
"hsl": {
"h": 312.353,
"s": 45.946,
"l": 43.529
},
"oklch": {
"l": 0.52594,
"c": 0.16452,
"h": 336.6
},
"luminance": 0.12836
}Semantic roles & 50–950 ramp
primary
#A23C8D
secondary
#7DBC8A
accent
#D66D52
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F