#AF4F96#AF4F96
#AF4F96 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.3% C 0.152 H 338.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4F96 |
|---|---|
| RGB | rgb(175, 79, 150) |
| HSL | hsl(316, 38%, 50%) |
| HSV | hsv(316, 55%, 69%) |
| CMYK | cmyk(0%, 54.9%, 14.3%, 31.4%) |
| CIE-LAB | lab(48.15, 48.00, -20.61) |
| CIE-LCH | lch(48.15, 52.24, 336.76°) |
| OKLab | oklab(57.26% 0.141 -0.0555) |
| OKLCH | oklch(57.26% 0.152 338.5) |
| XYZ | xyz(25.9805, 16.9099, 30.7438) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.85
Light Plum
#9D5783
ΔE00 5.61
Purplish
#94568C
ΔE00 5.67
Ugly Purple
#A442A0
ΔE00 5.68
Medium Purple
#9E43A2
ΔE00 6.88
Purpley Pink
#C83CB9
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4F96 #4FAF68
analogous
#984FAF #AF4F96 #AF4F66
triadic
#AF4F96 #96AF4F #4F96AF
tetradic
#AF4F96 #AF984F #4FAF68 #4F66AF
square
#AF4F96 #AF984F #4FAF68 #4F66AF
split-complementary
#AF4F96 #66AF4F #4FAF98
monochromatic
#5B294E #853C72 #AF4F96 #C279AF #D5A3C8
Accessibility & contrast
On white
4.79
#AF4F96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#AF4F96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4F96
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4F96 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526998
Deuteranopia (green-blind)
#6E7893
Tritanopia (blue-blind)
#B8526C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #af4f96; /* rgb */ color: rgb(175, 79, 150); /* oklch */ color: oklch(57.3% 0.152 338.5);
Tailwind
colors: {
custom: {
50: '#c985b5',
500: '#af4f96',
950: '#000000',
},
}SCSS
$custom: #af4f96; $custom-light: #c985b5; $custom-dark: #000000;
JSON
{
"hex": "#af4f96",
"rgb": {
"r": 175,
"g": 79,
"b": 150
},
"hsl": {
"h": 315.625,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.57262,
"c": 0.15151,
"h": 338.5
},
"luminance": 0.16908
}Semantic roles & 50–950 ramp
primary
#AF4F96
secondary
#97C3A2
accent
#CE785A
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80