#AF2962#AF2962
#AF2962 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 0.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2962 |
|---|---|
| RGB | rgb(175, 41, 98) |
| HSL | hsl(334, 62%, 42%) |
| HSV | hsv(334, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 44%, 31.4%) |
| CIE-LAB | lab(40.55, 56.98, -0.22) |
| CIE-LCH | lch(40.55, 56.98, 359.78°) |
| OKLab | oklab(51.04% 0.175 0.0001) |
| OKLCH | oklch(51.04% 0.175 0) |
| XYZ | xyz(20.6783, 11.5844, 12.7000) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.64
Deep Pink
#CB0162
ΔE00 5.06
Purplish Red
#B0054B
ΔE00 5.63
Deep Magenta
#A0025C
ΔE00 5.68
Light Burgundy
#A8415B
ΔE00 5.71
Magenta (survey)
#C20078
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2962 #29AF76
analogous
#AF29A5 #AF2962 #AF3329
triadic
#AF2962 #62AF29 #2962AF
tetradic
#AF2962 #A5AF29 #29AF76 #3329AF
square
#AF2962 #A5AF29 #29AF76 #3329AF
split-complementary
#AF2962 #29AF33 #29A5AF
monochromatic
#4C122A #7D1D46 #AF2962 #D34280 #DE74A1
Accessibility & contrast
On white
6.33
#AF2962 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF2962 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2962
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2962 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2962 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#BE1042
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2962; /* rgb */ color: rgb(175, 41, 98); /* oklch */ color: oklch(51.0% 0.175 0.0);
Tailwind
colors: {
custom: {
50: '#cc708e',
500: '#af2962',
950: '#000000',
},
}SCSS
$custom: #af2962; $custom-light: #cc708e; $custom-dark: #000000;
JSON
{
"hex": "#af2962",
"rgb": {
"r": 175,
"g": 41,
"b": 98
},
"hsl": {
"h": 334.478,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.51042,
"c": 0.17498,
"h": 0
},
"luminance": 0.11582
}Semantic roles & 50–950 ramp
primary
#AF2962
secondary
#6EC6A0
accent
#E5A043
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D