#AF6CA2#AF6CA2
#AF6CA2 is a light, moderate pink. Relative luminance 0.224; OKLCH L 62.2% C 0.111 H 334.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6CA2 |
|---|---|
| RGB | rgb(175, 108, 162) |
| HSL | hsl(312, 30%, 55%) |
| HSV | hsv(312, 38%, 69%) |
| CMYK | cmyk(0%, 38.3%, 7.4%, 31.4%) |
| CIE-LAB | lab(54.50, 34.89, -17.95) |
| CIE-LCH | lch(54.50, 39.24, 332.77°) |
| OKLab | oklab(62.17% 0.1 -0.0483) |
| OKLCH | oklch(62.17% 0.111 334.2) |
| XYZ | xyz(29.5631, 22.4492, 36.9514) |
| Luminance | 0.2245 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Dark Lilac
#9C6DA5
ΔE00 4.87
Soft Purple
#A66FB5
ΔE00 5.62
Purplish Pink
#CE5DAE
ΔE00 6.60
Faded Purple
#916E99
ΔE00 7.03
Orchid (survey)
#C875C4
ΔE00 7.38
Pale Magenta
#D767AD
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6CA2 #6CAF79
analogous
#9A6CAF #AF6CA2 #AF6C80
triadic
#AF6CA2 #A2AF6C #6CA2AF
tetradic
#AF6CA2 #AF9A6C #6CAF79 #6C80AF
square
#AF6CA2 #AF9A6C #6CAF79 #6C80AF
split-complementary
#AF6CA2 #80AF6C #6CAF9A
monochromatic
#68395F #904E83 #AF6CA2 #C594BB #DABBD4
Accessibility & contrast
On white
3.83
#AF6CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#AF6CA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6CA2
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6CA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6CA2 | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C7CA4
Deuteranopia (green-blind)
#7D86A0
Tritanopia (blue-blind)
#B56F80
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #af6ca2; /* rgb */ color: rgb(175, 108, 162); /* oklch */ color: oklch(62.2% 0.111 334.2);
Tailwind
colors: {
custom: {
50: '#c897bd',
500: '#af6ca2',
950: '#000000',
},
}SCSS
$custom: #af6ca2; $custom-light: #c897bd; $custom-dark: #000000;
JSON
{
"hex": "#af6ca2",
"rgb": {
"r": 175,
"g": 108,
"b": 162
},
"hsl": {
"h": 311.642,
"s": 29.515,
"l": 55.49
},
"oklch": {
"l": 0.62168,
"c": 0.11101,
"h": 334.2
},
"luminance": 0.22448
}Semantic roles & 50–950 ramp
primary
#AF6CA2
secondary
#ADC9B3
accent
#C67562
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130E12
muted
#827E81