#AF2958#AF2958
#AF2958 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.172 H 5.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2958 |
|---|---|
| RGB | rgb(175, 41, 88) |
| HSL | hsl(339, 62%, 42%) |
| HSV | hsv(339, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 49.7%, 31.4%) |
| CIE-LAB | lab(40.26, 56.07, 5.67) |
| CIE-LCH | lch(40.26, 56.35, 5.78°) |
| OKLab | oklab(50.73% 0.1715 0.015) |
| OKLCH | oklch(50.73% 0.172 5) |
| XYZ | xyz(20.2353, 11.4072, 10.3669) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.50
Raspberry (survey)
#B00149
ΔE00 3.91
Light Burgundy
#A8415B
ΔE00 4.22
Deep Pink
#CB0162
ΔE00 4.98
Violet Red
#A50055
ΔE00 5.19
Berry
#990F4B
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2958 #29AF80
analogous
#AF299B #AF2958 #AF3D29
triadic
#AF2958 #58AF29 #2958AF
tetradic
#AF2958 #9BAF29 #29AF80 #3D29AF
square
#AF2958 #9BAF29 #29AF80 #3D29AF
split-complementary
#AF2958 #29AF3D #299BAF
monochromatic
#4C1226 #7D1D3F #AF2958 #D34275 #DE7499
Accessibility & contrast
On white
6.40
#AF2958 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2958 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2958
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2958 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E59
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#BF053D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2958; /* rgb */ color: rgb(175, 41, 88); /* oklch */ color: oklch(50.7% 0.172 5.0);
Tailwind
colors: {
custom: {
50: '#cd6f86',
500: '#af2958',
950: '#000000',
},
}SCSS
$custom: #af2958; $custom-light: #cd6f86; $custom-dark: #000000;
JSON
{
"hex": "#af2958",
"rgb": {
"r": 175,
"g": 41,
"b": 88
},
"hsl": {
"h": 338.955,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50734,
"c": 0.1721,
"h": 5
},
"luminance": 0.11404
}Semantic roles & 50–950 ramp
primary
#AF2958
secondary
#6EC6A7
accent
#E5AC43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C