#AF2666#AF2666
#AF2666 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.179 H 357.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2666 |
|---|---|
| RGB | rgb(175, 38, 102) |
| HSL | hsl(332, 64%, 42%) |
| HSV | hsv(332, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 41.7%, 31.4%) |
| CIE-LAB | lab(40.35, 58.29, -3.03) |
| CIE-LCH | lch(40.35, 58.37, 357.02°) |
| OKLab | oklab(50.94% 0.1792 -0.0072) |
| OKLCH | oklch(50.94% 0.179 357.7) |
| XYZ | xyz(20.7721, 11.4622, 13.6864) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.62
Magenta (survey)
#C20078
ΔE00 4.73
Deep Magenta
#A0025C
ΔE00 5.05
Dark Fuchsia
#9D0759
ΔE00 5.35
Deep Pink
#CB0162
ΔE00 5.61
Red Violet
#9E0168
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2666 #26AF6F
analogous
#AF26AB #AF2666 #AF2B26
triadic
#AF2666 #66AF26 #2666AF
tetradic
#AF2666 #ABAF26 #26AF6F #2B26AF
square
#AF2666 #ABAF26 #26AF6F #2B26AF
split-complementary
#AF2666 #26AF2B #26ABAF
monochromatic
#4A102B #7D1B49 #AF2666 #D53D84 #E070A4
Accessibility & contrast
On white
6.38
#AF2666 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2666 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2666
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2666 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2666 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444F68
Deuteranopia (green-blind)
#6A6863
Tritanopia (blue-blind)
#BE0D43
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2666; /* rgb */ color: rgb(175, 38, 102); /* oklch */ color: oklch(50.9% 0.179 357.7);
Tailwind
colors: {
custom: {
50: '#cc6f91',
500: '#af2666',
950: '#000000',
},
}SCSS
$custom: #af2666; $custom-light: #cc6f91; $custom-dark: #000000;
JSON
{
"hex": "#af2666",
"rgb": {
"r": 175,
"g": 38,
"b": 102
},
"hsl": {
"h": 331.971,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.50937,
"c": 0.17939,
"h": 357.7
},
"luminance": 0.11459
}Semantic roles & 50–950 ramp
primary
#AF2666
secondary
#6AC79B
accent
#E79940
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D