#AF3958#AF3958
#AF3958 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.3% C 0.154 H 8.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3958 |
|---|---|
| RGB | rgb(175, 57, 88) |
| HSL | hsl(344, 51%, 45%) |
| HSV | hsv(344, 67%, 69%) |
| CMYK | cmyk(0%, 67.4%, 49.7%, 31.4%) |
| CIE-LAB | lab(42.38, 50.18, 8.68) |
| CIE-LCH | lch(42.38, 50.92, 9.81°) |
| OKLab | oklab(52.3% 0.1526 0.0225) |
| OKLCH | oklch(52.3% 0.154 8.4) |
| XYZ | xyz(20.9055, 12.7475, 10.5903) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 1.89
Dark Rose
#B5485D
ΔE00 3.89
Light Maroon
#A24857
ΔE00 4.08
Purplish Red
#B0054B
ΔE00 5.50
Raspberry (survey)
#B00149
ΔE00 5.71
Deep Pink
#CB0162
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3958 #39AF90
analogous
#AF3993 #AF3958 #AF5539
triadic
#AF3958 #58AF39 #3958AF
tetradic
#AF3958 #93AF39 #39AF90 #5539AF
square
#AF3958 #93AF39 #39AF90 #5539AF
split-complementary
#AF3958 #39AF55 #3993AF
monochromatic
#531B2A #812A41 #AF3958 #CA5B78 #D98A9E
Accessibility & contrast
On white
5.92
#AF3958 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#AF3958 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3958
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3958 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545559
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#BE2545
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #af3958; /* rgb */ color: rgb(175, 57, 88); /* oklch */ color: oklch(52.3% 0.154 8.4);
Tailwind
colors: {
custom: {
50: '#cc7786',
500: '#af3958',
950: '#000000',
},
}SCSS
$custom: #af3958; $custom-light: #cc7786; $custom-dark: #000000;
JSON
{
"hex": "#af3958",
"rgb": {
"r": 175,
"g": 57,
"b": 88
},
"hsl": {
"h": 344.237,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.52304,
"c": 0.15423,
"h": 8.4
},
"luminance": 0.12745
}Semantic roles & 50–950 ramp
primary
#AF3958
secondary
#81C3B2
accent
#DAB54D
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#14090B
muted
#837B7C