#AF395E#AF395E
#AF395E is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.5% C 0.155 H 5.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AF395E |
|---|---|
| RGB | rgb(175, 57, 94) |
| HSL | hsl(341, 51%, 45%) |
| HSV | hsv(341, 67%, 69%) |
| CMYK | cmyk(0%, 67.4%, 46.3%, 31.4%) |
| CIE-LAB | lab(42.54, 50.74, 5.16) |
| CIE-LCH | lch(42.54, 51.00, 5.81°) |
| OKLab | oklab(52.47% 0.1549 0.0138) |
| OKLCH | oklch(52.47% 0.155 5.1) |
| XYZ | xyz(21.1643, 12.8510, 11.9535) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.28
Dark Rose
#B5485D
ΔE00 4.84
Light Maroon
#A24857
ΔE00 5.10
Deep Pink
#CB0162
ΔE00 5.53
Purplish Red
#B0054B
ΔE00 5.84
Raspberry (survey)
#B00149
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF395E #39AF8A
analogous
#AF3999 #AF395E #AF4F39
triadic
#AF395E #5EAF39 #395EAF
tetradic
#AF395E #99AF39 #39AF8A #4F39AF
square
#AF395E #99AF39 #39AF8A #4F39AF
split-complementary
#AF395E #39AF4F #3999AF
monochromatic
#531B2C #812A45 #AF395E #CA5B7E #D98AA2
Accessibility & contrast
On white
5.88
#AF395E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#AF395E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF395E
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF395E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF395E | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52565F
Deuteranopia (green-blind)
#726D5B
Tritanopia (blue-blind)
#BE2848
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #af395e; /* rgb */ color: rgb(175, 57, 94); /* oklch */ color: oklch(52.5% 0.155 5.1);
Tailwind
colors: {
custom: {
50: '#cc778b',
500: '#af395e',
950: '#000000',
},
}SCSS
$custom: #af395e; $custom-light: #cc778b; $custom-dark: #000000;
JSON
{
"hex": "#af395e",
"rgb": {
"r": 175,
"g": 57,
"b": 94
},
"hsl": {
"h": 341.186,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.52473,
"c": 0.15547,
"h": 5.1
},
"luminance": 0.12848
}Semantic roles & 50–950 ramp
primary
#AF395E
secondary
#81C3AE
accent
#DAAE4D
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D