#AF2F66#AF2F66
#AF2F66 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.170 H 358.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F66 |
|---|---|
| RGB | rgb(175, 47, 102) |
| HSL | hsl(334, 58%, 44%) |
| HSV | hsv(334, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 41.7%, 31.4%) |
| CIE-LAB | lab(41.39, 55.36, -1.50) |
| CIE-LCH | lch(41.39, 55.38, 358.45°) |
| OKLab | oklab(51.7% 0.1699 -0.0033) |
| OKLCH | oklch(51.7% 0.17 358.9) |
| XYZ | xyz(21.0955, 12.1090, 13.7942) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 5.33
Magenta (survey)
#C20078
ΔE00 5.47
Violet Red
#A50055
ΔE00 5.54
Light Burgundy
#A8415B
ΔE00 5.68
Deep Magenta
#A0025C
ΔE00 6.25
Dark Fuchsia
#9D0759
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F66 #2FAF78
analogous
#AF2FA6 #AF2F66 #AF382F
triadic
#AF2F66 #66AF2F #2F66AF
tetradic
#AF2F66 #A6AF2F #2FAF78 #382FAF
square
#AF2F66 #A6AF2F #2FAF78 #382FAF
split-complementary
#AF2F66 #2FAF38 #2FA6AF
monochromatic
#4F152E #7F224A #AF2F66 #CF4C84 #DC7CA5
Accessibility & contrast
On white
6.14
#AF2F66 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AF2F66 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F66
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F66 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5267
Deuteranopia (green-blind)
#6D6A63
Tritanopia (blue-blind)
#BE1D46
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af2f66; /* rgb */ color: rgb(175, 47, 102); /* oklch */ color: oklch(51.7% 0.170 358.9);
Tailwind
colors: {
custom: {
50: '#cc7291',
500: '#af2f66',
950: '#000000',
},
}SCSS
$custom: #af2f66; $custom-light: #cc7291; $custom-dark: #000000;
JSON
{
"hex": "#af2f66",
"rgb": {
"r": 175,
"g": 47,
"b": 102
},
"hsl": {
"h": 334.219,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.517,
"c": 0.16991,
"h": 358.9
},
"luminance": 0.12106
}Semantic roles & 50–950 ramp
primary
#AF2F66
secondary
#75C4A2
accent
#E19F47
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D