#AF628D#AF628D
#AF628D is a mid, moderate pink. Relative luminance 0.198; OKLCH L 59.7% C 0.113 H 346.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AF628D |
|---|---|
| RGB | rgb(175, 98, 141) |
| HSL | hsl(326, 32%, 54%) |
| HSV | hsv(326, 44%, 69%) |
| CMYK | cmyk(0%, 44%, 19.4%, 31.4%) |
| CIE-LAB | lab(51.58, 36.80, -10.05) |
| CIE-LCH | lch(51.58, 38.15, 344.72°) |
| OKLab | oklab(59.72% 0.1095 -0.0264) |
| OKLCH | oklch(59.72% 0.113 346.4) |
| XYZ | xyz(26.8551, 19.7743, 27.5965) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.28
Purpleish
#98568D
ΔE00 7.33
Purplish
#94568C
ΔE00 8.04
Mauve (survey)
#AE7181
ΔE00 8.07
Purplish Pink
#CE5DAE
ΔE00 8.27
Dark Lilac
#9C6DA5
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF628D #62AF84
analogous
#AA62AF #AF628D #AF6266
triadic
#AF628D #8DAF62 #628DAF
tetradic
#AF628D #AFAA62 #62AF84 #6266AF
square
#AF628D #AFAA62 #62AF84 #6266AF
split-complementary
#AF628D #66AF62 #62AFAA
monochromatic
#64334E #8C476E #AF628D #C48BAA #D8B3C8
Accessibility & contrast
On white
4.24
#AF628D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#AF628D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF628D
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF628D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF628D | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68738F
Deuteranopia (green-blind)
#7C808B
Tritanopia (blue-blind)
#B86172
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #af628d; /* rgb */ color: rgb(175, 98, 141); /* oklch */ color: oklch(59.7% 0.113 346.4);
Tailwind
colors: {
custom: {
50: '#c890ae',
500: '#af628d',
950: '#000000',
},
}SCSS
$custom: #af628d; $custom-light: #c890ae; $custom-dark: #000000;
JSON
{
"hex": "#af628d",
"rgb": {
"r": 175,
"g": 98,
"b": 141
},
"hsl": {
"h": 326.494,
"s": 32.489,
"l": 53.529
},
"oklch": {
"l": 0.59719,
"c": 0.11267,
"h": 346.4
},
"luminance": 0.19772
}Semantic roles & 50–950 ramp
primary
#AF628D
secondary
#A6C7B4
accent
#C98E5F
background
#FCF9FA
surface
#F8F1F4
border
#D1CBCE
text
#130D10
muted
#827E7F