#AF2E63#AF2E63
#AF2E63 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.170 H 0.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E63 |
|---|---|
| RGB | rgb(175, 46, 99) |
| HSL | hsl(335, 58%, 43%) |
| HSV | hsv(335, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 43.4%, 31.4%) |
| CIE-LAB | lab(41.17, 55.41, 0.06) |
| CIE-LCH | lch(41.17, 55.41, 0.06°) |
| OKLab | oklab(51.51% 0.17 0.0008) |
| OKLCH | oklch(51.51% 0.17 0.3) |
| XYZ | xyz(20.9099, 11.9715, 13.0116) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 5.05
Light Burgundy
#A8415B
ΔE00 5.17
Violet Red
#A50055
ΔE00 5.29
Purplish Red
#B0054B
ΔE00 5.92
Magenta (survey)
#C20078
ΔE00 6.00
Deep Magenta
#A0025C
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E63 #2EAF7A
analogous
#AF2EA3 #AF2E63 #AF392E
triadic
#AF2E63 #63AF2E #2E63AF
tetradic
#AF2E63 #A3AF2E #2EAF7A #392EAF
square
#AF2E63 #A3AF2E #2EAF7A #392EAF
split-complementary
#AF2E63 #2EAF39 #2EA3AF
monochromatic
#4E152C #7F2148 #AF2E63 #D04B81 #DC7BA3
Accessibility & contrast
On white
6.19
#AF2E63 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#AF2E63 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E63
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E63 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5164
Deuteranopia (green-blind)
#6D6A60
Tritanopia (blue-blind)
#BE1A45
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2e63; /* rgb */ color: rgb(175, 46, 99); /* oklch */ color: oklch(51.5% 0.170 0.3);
Tailwind
colors: {
custom: {
50: '#cc728f',
500: '#af2e63',
950: '#000000',
},
}SCSS
$custom: #af2e63; $custom-light: #cc728f; $custom-dark: #000000;
JSON
{
"hex": "#af2e63",
"rgb": {
"r": 175,
"g": 46,
"b": 99
},
"hsl": {
"h": 335.349,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.5151,
"c": 0.16999,
"h": 0.3
},
"luminance": 0.11969
}Semantic roles & 50–950 ramp
primary
#AF2E63
secondary
#74C5A4
accent
#E2A246
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D