#AF2562#AF2562
#AF2562 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.179 H 359.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2562 |
|---|---|
| RGB | rgb(175, 37, 98) |
| HSL | hsl(333, 65%, 42%) |
| HSV | hsv(333, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 44%, 31.4%) |
| CIE-LAB | lab(40.12, 58.20, -0.85) |
| CIE-LCH | lch(40.12, 58.20, 359.16°) |
| OKLab | oklab(50.73% 0.1789 -0.0016) |
| OKLCH | oklch(50.73% 0.179 359.5) |
| XYZ | xyz(20.5470, 11.3217, 12.6562) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.21
Deep Magenta
#A0025C
ΔE00 5.17
Deep Pink
#CB0162
ΔE00 5.19
Dark Fuchsia
#9D0759
ΔE00 5.36
Magenta (survey)
#C20078
ΔE00 5.49
Purplish Red
#B0054B
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2562 #25AF72
analogous
#AF25A7 #AF2562 #AF2D25
triadic
#AF2562 #62AF25 #2562AF
tetradic
#AF2562 #A7AF25 #25AF72 #2D25AF
square
#AF2562 #A7AF25 #25AF72 #2D25AF
split-complementary
#AF2562 #25AF2D #25A7AF
monochromatic
#4A1029 #7C1A46 #AF2562 #D63C80 #E06EA1
Accessibility & contrast
On white
6.43
#AF2562 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2562 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2562
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2562 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2562 | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454E63
Deuteranopia (green-blind)
#6A685F
Tritanopia (blue-blind)
#BE0540
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2562; /* rgb */ color: rgb(175, 37, 98); /* oklch */ color: oklch(50.7% 0.179 359.5);
Tailwind
colors: {
custom: {
50: '#cc6e8e',
500: '#af2562',
950: '#000000',
},
}SCSS
$custom: #af2562; $custom-light: #cc6e8e; $custom-dark: #000000;
JSON
{
"hex": "#af2562",
"rgb": {
"r": 175,
"g": 37,
"b": 98
},
"hsl": {
"h": 333.478,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.50726,
"c": 0.1789,
"h": 359.5
},
"luminance": 0.11319
}Semantic roles & 50–950 ramp
primary
#AF2562
secondary
#69C79D
accent
#E89E40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D