#AF2662#AF2662
#AF2662 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.178 H 359.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2662 |
|---|---|
| RGB | rgb(175, 38, 98) |
| HSL | hsl(334, 64%, 42%) |
| HSV | hsv(334, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 44%, 31.4%) |
| CIE-LAB | lab(40.22, 57.90, -0.70) |
| CIE-LCH | lch(40.22, 57.91, 359.31°) |
| OKLab | oklab(50.8% 0.1779 -0.0012) |
| OKLCH | oklch(50.8% 0.178 359.6) |
| XYZ | xyz(20.5785, 11.3848, 12.6667) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.31
Deep Pink
#CB0162
ΔE00 5.15
Deep Magenta
#A0025C
ΔE00 5.29
Dark Fuchsia
#9D0759
ΔE00 5.47
Magenta (survey)
#C20078
ΔE00 5.55
Purplish Red
#B0054B
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2662 #26AF73
analogous
#AF26A7 #AF2662 #AF2F26
triadic
#AF2662 #62AF26 #2662AF
tetradic
#AF2662 #A7AF26 #26AF73 #2F26AF
square
#AF2662 #A7AF26 #26AF73 #2F26AF
split-complementary
#AF2662 #26AF2F #26A7AF
monochromatic
#4A102A #7D1B46 #AF2662 #D53D80 #E070A1
Accessibility & contrast
On white
6.41
#AF2662 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2662 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2662
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2662 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2662 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464E63
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#BE0841
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2662; /* rgb */ color: rgb(175, 38, 98); /* oklch */ color: oklch(50.8% 0.178 359.6);
Tailwind
colors: {
custom: {
50: '#cc6f8e',
500: '#af2662',
950: '#000000',
},
}SCSS
$custom: #af2662; $custom-light: #cc6f8e; $custom-dark: #000000;
JSON
{
"hex": "#af2662",
"rgb": {
"r": 175,
"g": 38,
"b": 98
},
"hsl": {
"h": 333.723,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.50802,
"c": 0.17794,
"h": 359.6
},
"luminance": 0.11382
}Semantic roles & 50–950 ramp
primary
#AF2662
secondary
#6AC79E
accent
#E79E40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D