#AF2D66#AF2D66
#AF2D66 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.172 H 358.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D66 |
|---|---|
| RGB | rgb(175, 45, 102) |
| HSL | hsl(334, 59%, 43%) |
| HSV | hsv(334, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 41.7%, 31.4%) |
| CIE-LAB | lab(41.14, 56.06, -1.87) |
| CIE-LCH | lch(41.14, 56.09, 358.09°) |
| OKLab | oklab(51.52% 0.1721 -0.0042) |
| OKLCH | oklch(51.52% 0.172 358.6) |
| XYZ | xyz(21.0174, 11.9527, 13.7681) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 5.26
Violet Red
#A50055
ΔE00 5.30
Deep Pink
#CB0162
ΔE00 5.37
Deep Magenta
#A0025C
ΔE00 5.95
Light Burgundy
#A8415B
ΔE00 5.96
Dark Fuchsia
#9D0759
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D66 #2DAF76
analogous
#AF2DA7 #AF2D66 #AF352D
triadic
#AF2D66 #66AF2D #2D66AF
tetradic
#AF2D66 #A7AF2D #2DAF76 #352DAF
square
#AF2D66 #A7AF2D #2DAF76 #352DAF
split-complementary
#AF2D66 #2DAF35 #2DA7AF
monochromatic
#4E142D #7E204A #AF2D66 #D04984 #DD7AA5
Accessibility & contrast
On white
6.19
#AF2D66 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#AF2D66 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D66
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D66 | 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)
#485167
Deuteranopia (green-blind)
#6C6A63
Tritanopia (blue-blind)
#BE1A46
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2d66; /* rgb */ color: rgb(175, 45, 102); /* oklch */ color: oklch(51.5% 0.172 358.6);
Tailwind
colors: {
custom: {
50: '#cc7291',
500: '#af2d66',
950: '#000000',
},
}SCSS
$custom: #af2d66; $custom-light: #cc7291; $custom-dark: #000000;
JSON
{
"hex": "#af2d66",
"rgb": {
"r": 175,
"g": 45,
"b": 102
},
"hsl": {
"h": 333.692,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.51518,
"c": 0.17214,
"h": 358.6
},
"luminance": 0.1195
}Semantic roles & 50–950 ramp
primary
#AF2D66
secondary
#73C5A1
accent
#E29E46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D