#AF2961#AF2961
#AF2961 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 0.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2961 |
|---|---|
| RGB | rgb(175, 41, 97) |
| HSL | hsl(335, 62%, 42%) |
| HSV | hsv(335, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 44.6%, 31.4%) |
| CIE-LAB | lab(40.52, 56.88, 0.36) |
| CIE-LCH | lch(40.52, 56.88, 0.37°) |
| OKLab | oklab(51.01% 0.1746 0.0016) |
| OKLCH | oklch(51.01% 0.175 0.5) |
| XYZ | xyz(20.6314, 11.5656, 12.4529) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.61
Deep Pink
#CB0162
ΔE00 4.98
Purplish Red
#B0054B
ΔE00 5.39
Light Burgundy
#A8415B
ΔE00 5.52
Deep Magenta
#A0025C
ΔE00 5.78
Raspberry (survey)
#B00149
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2961 #29AF77
analogous
#AF29A4 #AF2961 #AF3429
triadic
#AF2961 #61AF29 #2961AF
tetradic
#AF2961 #A4AF29 #29AF77 #3429AF
square
#AF2961 #A4AF29 #29AF77 #3429AF
split-complementary
#AF2961 #29AF34 #29A4AF
monochromatic
#4C122A #7D1D46 #AF2961 #D3427F #DE74A0
Accessibility & contrast
On white
6.34
#AF2961 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF2961 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2961
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2961 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2961 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484F62
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#BE0F42
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2961; /* rgb */ color: rgb(175, 41, 97); /* oklch */ color: oklch(51.0% 0.175 0.5);
Tailwind
colors: {
custom: {
50: '#cc708d',
500: '#af2961',
950: '#000000',
},
}SCSS
$custom: #af2961; $custom-light: #cc708d; $custom-dark: #000000;
JSON
{
"hex": "#af2961",
"rgb": {
"r": 175,
"g": 41,
"b": 97
},
"hsl": {
"h": 334.925,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.51009,
"c": 0.17465,
"h": 0.5
},
"luminance": 0.11563
}Semantic roles & 50–950 ramp
primary
#AF2961
secondary
#6EC6A1
accent
#E5A143
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D