#AF2D63#AF2D63
#AF2D63 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.171 H 0.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D63 |
|---|---|
| RGB | rgb(175, 45, 99) |
| HSL | hsl(335, 59%, 43%) |
| HSV | hsv(335, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 43.4%, 31.4%) |
| CIE-LAB | lab(41.05, 55.76, -0.12) |
| CIE-LCH | lch(41.05, 55.76, 359.88°) |
| OKLab | oklab(51.42% 0.1711 0.0003) |
| OKLCH | oklch(51.42% 0.171 0.1) |
| XYZ | xyz(20.8713, 11.8943, 12.9987) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 5.06
Violet Red
#A50055
ΔE00 5.16
Light Burgundy
#A8415B
ΔE00 5.33
Magenta (survey)
#C20078
ΔE00 5.90
Purplish Red
#B0054B
ΔE00 5.90
Deep Magenta
#A0025C
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D63 #2DAF79
analogous
#AF2DA4 #AF2D63 #AF382D
triadic
#AF2D63 #63AF2D #2D63AF
tetradic
#AF2D63 #A4AF2D #2DAF79 #382DAF
square
#AF2D63 #A4AF2D #2DAF79 #382DAF
split-complementary
#AF2D63 #2DAF38 #2DA4AF
monochromatic
#4E142C #7E2047 #AF2D63 #D04981 #DD7AA3
Accessibility & contrast
On white
6.22
#AF2D63 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AF2D63 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D63
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D63 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495164
Deuteranopia (green-blind)
#6D6A60
Tritanopia (blue-blind)
#BE1844
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2d63; /* rgb */ color: rgb(175, 45, 99); /* oklch */ color: oklch(51.4% 0.171 0.1);
Tailwind
colors: {
custom: {
50: '#cc718f',
500: '#af2d63',
950: '#000000',
},
}SCSS
$custom: #af2d63; $custom-light: #cc718f; $custom-dark: #000000;
JSON
{
"hex": "#af2d63",
"rgb": {
"r": 175,
"g": 45,
"b": 99
},
"hsl": {
"h": 335.077,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.51419,
"c": 0.17109,
"h": 0.1
},
"luminance": 0.11892
}Semantic roles & 50–950 ramp
primary
#AF2D63
secondary
#73C5A3
accent
#E2A146
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D