#AF2960#AF2960
#AF2960 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.174 H 1.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2960 |
|---|---|
| RGB | rgb(175, 41, 96) |
| HSL | hsl(335, 62%, 42%) |
| HSV | hsv(335, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 45.1%, 31.4%) |
| CIE-LAB | lab(40.49, 56.79, 0.95) |
| CIE-LCH | lch(40.49, 56.80, 0.96°) |
| OKLab | oklab(50.98% 0.1743 0.0031) |
| OKLCH | oklch(50.98% 0.174 1) |
| XYZ | xyz(20.5851, 11.5471, 12.2089) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.61
Deep Pink
#CB0162
ΔE00 4.91
Purplish Red
#B0054B
ΔE00 5.16
Light Burgundy
#A8415B
ΔE00 5.34
Raspberry (survey)
#B00149
ΔE00 5.64
Deep Magenta
#A0025C
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2960 #29AF78
analogous
#AF29A3 #AF2960 #AF3529
triadic
#AF2960 #60AF29 #2960AF
tetradic
#AF2960 #A3AF29 #29AF78 #3529AF
square
#AF2960 #A3AF29 #29AF78 #3529AF
split-complementary
#AF2960 #29AF35 #29A3AF
monochromatic
#4C122A #7D1D45 #AF2960 #D3427E #DE74A0
Accessibility & contrast
On white
6.35
#AF2960 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF2960 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2960
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2960 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2960 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484F61
Deuteranopia (green-blind)
#6C695D
Tritanopia (blue-blind)
#BE0E41
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2960; /* rgb */ color: rgb(175, 41, 96); /* oklch */ color: oklch(51.0% 0.174 1.0);
Tailwind
colors: {
custom: {
50: '#cc708d',
500: '#af2960',
950: '#000000',
},
}SCSS
$custom: #af2960; $custom-light: #cc708d; $custom-dark: #000000;
JSON
{
"hex": "#af2960",
"rgb": {
"r": 175,
"g": 41,
"b": 96
},
"hsl": {
"h": 335.373,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50977,
"c": 0.17433,
"h": 1
},
"luminance": 0.11544
}Semantic roles & 50–950 ramp
primary
#AF2960
secondary
#6EC6A2
accent
#E5A243
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D