#AF3883#AF3883
#AF3883 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.173 H 345.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3883 |
|---|---|
| RGB | rgb(175, 56, 131) |
| HSL | hsl(322, 52%, 45%) |
| HSV | hsv(322, 68%, 69%) |
| CMYK | cmyk(0%, 68%, 25.1%, 31.4%) |
| CIE-LAB | lab(43.63, 55.41, -16.07) |
| CIE-LCH | lch(43.63, 57.70, 343.82°) |
| OKLab | oklab(53.68% 0.1675 -0.0426) |
| OKLCH | oklch(53.68% 0.173 345.7) |
| XYZ | xyz(23.1910, 13.5834, 22.8688) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.38
Magenta (survey)
#C20078
ΔE00 5.15
Ugly Purple
#A442A0
ΔE00 7.19
Light Plum
#9D5783
ΔE00 7.26
Purpleish
#98568D
ΔE00 7.64
Purplish
#94568C
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3883 #38AF64
analogous
#9F38AF #AF3883 #AF3847
triadic
#AF3883 #83AF38 #3883AF
tetradic
#AF3883 #AF9F38 #38AF64 #3847AF
square
#AF3883 #AF9F38 #38AF64 #3847AF
split-complementary
#AF3883 #47AF38 #38AF9F
monochromatic
#521A3E #812960 #AF3883 #CA5AA1 #D988BB
Accessibility & contrast
On white
5.65
#AF3883 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#AF3883 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3883
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3883 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3883 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465A85
Deuteranopia (green-blind)
#686E80
Tritanopia (blue-blind)
#BB3658
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #af3883; /* rgb */ color: rgb(175, 56, 131); /* oklch */ color: oklch(53.7% 0.173 345.7);
Tailwind
colors: {
custom: {
50: '#cb77a7',
500: '#af3883',
950: '#000000',
},
}SCSS
$custom: #af3883; $custom-light: #cb77a7; $custom-dark: #000000;
JSON
{
"hex": "#af3883",
"rgb": {
"r": 175,
"g": 56,
"b": 131
},
"hsl": {
"h": 322.185,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.53683,
"c": 0.17282,
"h": 345.7
},
"luminance": 0.13581
}Semantic roles & 50–950 ramp
primary
#AF3883
secondary
#80C399
accent
#DB814D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F