#AF4696#AF4696
#AF4696 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.1% C 0.166 H 337.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4696 |
|---|---|
| RGB | rgb(175, 70, 150) |
| HSL | hsl(314, 43%, 48%) |
| HSV | hsv(314, 60%, 69%) |
| CMYK | cmyk(0%, 60%, 14.3%, 31.4%) |
| CIE-LAB | lab(46.58, 52.23, -23.03) |
| CIE-LCH | lch(46.58, 57.08, 336.20°) |
| OKLab | oklab(56.1% 0.1535 -0.0622) |
| OKLCH | oklch(56.1% 0.166 337.9) |
| XYZ | xyz(25.3747, 15.6984, 30.5419) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.20
Medium Purple
#9E43A2
ΔE00 5.55
Purpleish
#98568D
ΔE00 5.60
Purplish
#94568C
ΔE00 6.27
Light Plum
#9D5783
ΔE00 6.76
Purpley Pink
#C83CB9
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4696 #46AF5F
analogous
#9346AF #AF4696 #AF4661
triadic
#AF4696 #96AF46 #4696AF
tetradic
#AF4696 #AF9346 #46AF5F #4661AF
square
#AF4696 #AF9346 #46AF5F #4661AF
split-complementary
#AF4696 #61AF46 #46AF93
monochromatic
#58234B #833571 #AF4696 #C56DB0 #D699C8
Accessibility & contrast
On white
5.07
#AF4696 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#AF4696 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4696
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4696 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4696 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496498
Deuteranopia (green-blind)
#697493
Tritanopia (blue-blind)
#B84A68
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #af4696; /* rgb */ color: rgb(175, 70, 150); /* oklch */ color: oklch(56.1% 0.166 337.9);
Tailwind
colors: {
custom: {
50: '#ca7fb5',
500: '#af4696',
950: '#000000',
},
}SCSS
$custom: #af4696; $custom-light: #ca7fb5; $custom-dark: #000000;
JSON
{
"hex": "#af4696",
"rgb": {
"r": 175,
"g": 70,
"b": 150
},
"hsl": {
"h": 314.286,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.56103,
"c": 0.16565,
"h": 337.9
},
"luminance": 0.15696
}Semantic roles & 50–950 ramp
primary
#AF4696
secondary
#8EC29B
accent
#D37355
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80