#AF3957#AF3957
#AF3957 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.3% C 0.154 H 8.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3957 |
|---|---|
| RGB | rgb(175, 57, 87) |
| HSL | hsl(345, 51%, 45%) |
| HSV | hsv(345, 67%, 69%) |
| CMYK | cmyk(0%, 67.4%, 50.3%, 31.4%) |
| CIE-LAB | lab(42.36, 50.09, 9.27) |
| CIE-LCH | lch(42.36, 50.94, 10.48°) |
| OKLab | oklab(52.28% 0.1522 0.0239) |
| OKLCH | oklch(52.28% 0.154 8.9) |
| XYZ | xyz(20.8643, 12.7310, 10.3736) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 1.99
Dark Rose
#B5485D
ΔE00 3.80
Light Maroon
#A24857
ΔE00 3.96
Purplish Red
#B0054B
ΔE00 5.51
Raspberry (survey)
#B00149
ΔE00 5.69
Deep Pink
#CB0162
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3957 #39AF91
analogous
#AF3992 #AF3957 #AF5639
triadic
#AF3957 #57AF39 #3957AF
tetradic
#AF3957 #92AF39 #39AF91 #5639AF
square
#AF3957 #92AF39 #39AF91 #5639AF
split-complementary
#AF3957 #39AF56 #3992AF
monochromatic
#531B29 #812A40 #AF3957 #CA5B77 #D98A9E
Accessibility & contrast
On white
5.92
#AF3957 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#AF3957 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3957
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3957 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3957 | 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)
#545558
Deuteranopia (green-blind)
#736D54
Tritanopia (blue-blind)
#BF2545
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #af3957; /* rgb */ color: rgb(175, 57, 87); /* oklch */ color: oklch(52.3% 0.154 8.9);
Tailwind
colors: {
custom: {
50: '#cc7786',
500: '#af3957',
950: '#000000',
},
}SCSS
$custom: #af3957; $custom-light: #cc7786; $custom-dark: #000000;
JSON
{
"hex": "#af3957",
"rgb": {
"r": 175,
"g": 57,
"b": 87
},
"hsl": {
"h": 344.746,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.52278,
"c": 0.15407,
"h": 8.9
},
"luminance": 0.12728
}Semantic roles & 50–950 ramp
primary
#AF3957
secondary
#81C3B2
accent
#DAB74D
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#14090B
muted
#837B7C