#AF628E#AF628E
#AF628E is a mid, moderate pink. Relative luminance 0.198; OKLCH L 59.8% C 0.113 H 345.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AF628E |
|---|---|
| RGB | rgb(175, 98, 142) |
| HSL | hsl(326, 32%, 54%) |
| HSV | hsv(326, 44%, 69%) |
| CMYK | cmyk(0%, 44%, 18.9%, 31.4%) |
| CIE-LAB | lab(51.62, 36.95, -10.59) |
| CIE-LCH | lch(51.62, 38.44, 344.01°) |
| OKLab | oklab(59.76% 0.1098 -0.0279) |
| OKLCH | oklch(59.76% 0.113 345.8) |
| XYZ | xyz(26.9298, 19.8042, 27.9901) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.26
Purpleish
#98568D
ΔE00 7.19
Purplish
#94568C
ΔE00 7.91
Purplish Pink
#CE5DAE
ΔE00 8.08
Mauve (survey)
#AE7181
ΔE00 8.29
Dark Lilac
#9C6DA5
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF628E #62AF83
analogous
#A962AF #AF628E #AF6267
triadic
#AF628E #8EAF62 #628EAF
tetradic
#AF628E #AFA962 #62AF83 #6267AF
square
#AF628E #AFA962 #62AF83 #6267AF
split-complementary
#AF628E #67AF62 #62AFA9
monochromatic
#64334F #8C476F #AF628E #C48BAB #D8B3C8
Accessibility & contrast
On white
4.23
#AF628E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#AF628E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF628E
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF628E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF628E | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#687390
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#B86172
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #af628e; /* rgb */ color: rgb(175, 98, 142); /* oklch */ color: oklch(59.8% 0.113 345.8);
Tailwind
colors: {
custom: {
50: '#c890af',
500: '#af628e',
950: '#000000',
},
}SCSS
$custom: #af628e; $custom-light: #c890af; $custom-dark: #000000;
JSON
{
"hex": "#af628e",
"rgb": {
"r": 175,
"g": 98,
"b": 142
},
"hsl": {
"h": 325.714,
"s": 32.489,
"l": 53.529
},
"oklch": {
"l": 0.59756,
"c": 0.11333,
"h": 345.8
},
"luminance": 0.19802
}Semantic roles & 50–950 ramp
primary
#AF628E
secondary
#A6C7B4
accent
#C98C5F
background
#FCF9FA
surface
#F8F1F4
border
#D1CBCE
text
#130D10
muted
#827E7F