#AF2C62#AF2C62
#AF2C62 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.172 H 0.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C62 |
|---|---|
| RGB | rgb(175, 44, 98) |
| HSL | hsl(335, 60%, 43%) |
| HSV | hsv(335, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 44%, 31.4%) |
| CIE-LAB | lab(40.90, 56.00, 0.29) |
| CIE-LCH | lch(40.90, 56.00, 0.29°) |
| OKLab | oklab(51.3% 0.1718 0.0014) |
| OKLCH | oklch(51.3% 0.172 0.5) |
| XYZ | xyz(20.7861, 11.7999, 12.7359) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 5.00
Violet Red
#A50055
ΔE00 5.01
Light Burgundy
#A8415B
ΔE00 5.27
Purplish Red
#B0054B
ΔE00 5.66
Magenta (survey)
#C20078
ΔE00 6.03
Deep Magenta
#A0025C
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C62 #2CAF79
analogous
#AF2CA3 #AF2C62 #AF372C
triadic
#AF2C62 #62AF2C #2C62AF
tetradic
#AF2C62 #A3AF2C #2CAF79 #372CAF
square
#AF2C62 #A3AF2C #2CAF79 #372CAF
split-complementary
#AF2C62 #2CAF37 #2CA3AF
monochromatic
#4D132B #7E2047 #AF2C62 #D14780 #DD78A2
Accessibility & contrast
On white
6.25
#AF2C62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF2C62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C62
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C62 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#6C6A5F
Tritanopia (blue-blind)
#BE1643
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2c62; /* rgb */ color: rgb(175, 44, 98); /* oklch */ color: oklch(51.3% 0.172 0.5);
Tailwind
colors: {
custom: {
50: '#cc718e',
500: '#af2c62',
950: '#000000',
},
}SCSS
$custom: #af2c62; $custom-light: #cc718e; $custom-dark: #000000;
JSON
{
"hex": "#af2c62",
"rgb": {
"r": 175,
"g": 44,
"b": 98
},
"hsl": {
"h": 335.267,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.51298,
"c": 0.17185,
"h": 0.5
},
"luminance": 0.11797
}Semantic roles & 50–950 ramp
primary
#AF2C62
secondary
#72C5A3
accent
#E3A245
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D