#AF599D#AF599D
#AF599D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.0% C 0.140 H 335.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF599D |
|---|---|
| RGB | rgb(175, 89, 157) |
| HSL | hsl(313, 35%, 52%) |
| HSV | hsv(313, 49%, 69%) |
| CMYK | cmyk(0%, 49.1%, 10.3%, 31.4%) |
| CIE-LAB | lab(50.33, 44.15, -21.41) |
| CIE-LCH | lch(50.33, 49.07, 334.13°) |
| OKLab | oklab(58.98% 0.1279 -0.0578) |
| OKLCH | oklch(58.98% 0.14 335.7) |
| XYZ | xyz(27.3374, 18.6948, 34.0603) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 5.28
Purplish
#94568C
ΔE00 6.07
Light Plum
#9D5783
ΔE00 6.24
Purplish Pink
#CE5DAE
ΔE00 6.49
Ugly Purple
#A442A0
ΔE00 7.07
Dark Lilac
#9C6DA5
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF599D #59AF6B
analogous
#9659AF #AF599D #AF5972
triadic
#AF599D #9DAF59 #599DAF
tetradic
#AF599D #AF9659 #59AF6B #5972AF
square
#AF599D #AF9659 #59AF6B #5972AF
split-complementary
#AF599D #72AF59 #59AF96
monochromatic
#602E55 #89427A #AF599D #C382B5 #D7ACCE
Accessibility & contrast
On white
4.43
#AF599D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#AF599D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF599D
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF599D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF599D | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A709F
Deuteranopia (green-blind)
#717C9B
Tritanopia (blue-blind)
#B65D74
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #af599d; /* rgb */ color: rgb(175, 89, 157); /* oklch */ color: oklch(59.0% 0.140 335.7);
Tailwind
colors: {
custom: {
50: '#c98bba',
500: '#af599d',
950: '#000000',
},
}SCSS
$custom: #af599d; $custom-light: #c98bba; $custom-dark: #000000;
JSON
{
"hex": "#af599d",
"rgb": {
"r": 175,
"g": 89,
"b": 157
},
"hsl": {
"h": 312.558,
"s": 34.959,
"l": 51.765
},
"oklch": {
"l": 0.58975,
"c": 0.14037,
"h": 335.7
},
"luminance": 0.18693
}Semantic roles & 50–950 ramp
primary
#AF599D
secondary
#9FC5A7
accent
#CB745D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80