#AF3D92#AF3D92
#AF3D92 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.176 H 339.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3D92 |
|---|---|
| RGB | rgb(175, 61, 146) |
| HSL | hsl(315, 48%, 46%) |
| HSV | hsv(315, 65%, 69%) |
| CMYK | cmyk(0%, 65.1%, 16.6%, 31.4%) |
| CIE-LAB | lab(44.98, 55.51, -23.09) |
| CIE-LCH | lch(44.98, 60.13, 337.41°) |
| OKLab | oklab(54.88% 0.1644 -0.0623) |
| OKLCH | oklch(54.88% 0.176 339.2) |
| XYZ | xyz(24.5368, 14.5290, 28.7007) |
| Luminance | 0.1453 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.22
Medium Purple
#9E43A2
ΔE00 5.57
Mediumvioletred
#C71585
ΔE00 5.88
Purpleish
#98568D
ΔE00 6.59
Warm Purple
#952E8F
ΔE00 7.04
Purplish
#94568C
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3D92 #3DAF5A
analogous
#933DAF #AF3D92 #AF3D59
triadic
#AF3D92 #92AF3D #3D92AF
tetradic
#AF3D92 #AF933D #3DAF5A #3D59AF
square
#AF3D92 #AF933D #3DAF5A #3D59AF
split-complementary
#AF3D92 #59AF3D #3DAF93
monochromatic
#541D46 #822D6C #AF3D92 #C861AE #D88FC5
Accessibility & contrast
On white
5.38
#AF3D92 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#AF3D92 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3D92
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3D92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3D92 | 1.00 | 5.38 | 3.91 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#435F95
Deuteranopia (green-blind)
#66718F
Tritanopia (blue-blind)
#B94162
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af3d92; /* rgb */ color: rgb(175, 61, 146); /* oklch */ color: oklch(54.9% 0.176 339.2);
Tailwind
colors: {
custom: {
50: '#ca7ab2',
500: '#af3d92',
950: '#000000',
},
}SCSS
$custom: #af3d92; $custom-light: #ca7ab2; $custom-dark: #000000;
JSON
{
"hex": "#af3d92",
"rgb": {
"r": 175,
"g": 61,
"b": 146
},
"hsl": {
"h": 315.263,
"s": 48.305,
"l": 46.275
},
"oklch": {
"l": 0.54878,
"c": 0.17581,
"h": 339.2
},
"luminance": 0.14527
}Semantic roles & 50–950 ramp
primary
#AF3D92
secondary
#85C395
accent
#D87350
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A11
muted
#827C80