#AF395F#AF395F
#AF395F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.5% C 0.156 H 4.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AF395F |
|---|---|
| RGB | rgb(175, 57, 95) |
| HSL | hsl(341, 51%, 45%) |
| HSV | hsv(341, 67%, 69%) |
| CMYK | cmyk(0%, 67.4%, 45.7%, 31.4%) |
| CIE-LAB | lab(42.57, 50.84, 4.58) |
| CIE-LCH | lch(42.57, 51.04, 5.15°) |
| OKLab | oklab(52.5% 0.1552 0.0123) |
| OKLCH | oklch(52.5% 0.156 4.5) |
| XYZ | xyz(21.2095, 12.8691, 12.1913) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.47
Dark Rose
#B5485D
ΔE00 5.04
Light Maroon
#A24857
ΔE00 5.31
Deep Pink
#CB0162
ΔE00 5.47
Purplish Red
#B0054B
ΔE00 5.96
Raspberry (survey)
#B00149
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF395F #39AF89
analogous
#AF399A #AF395F #AF4E39
triadic
#AF395F #5FAF39 #395FAF
tetradic
#AF395F #9AAF39 #39AF89 #4E39AF
square
#AF395F #9AAF39 #39AF89 #4E39AF
split-complementary
#AF395F #39AF4E #399AAF
monochromatic
#531B2D #812A46 #AF395F #CA5B7F #D98AA3
Accessibility & contrast
On white
5.88
#AF395F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#AF395F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF395F
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF395F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF395F | 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)
#525660
Deuteranopia (green-blind)
#716D5C
Tritanopia (blue-blind)
#BE2848
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #af395f; /* rgb */ color: rgb(175, 57, 95); /* oklch */ color: oklch(52.5% 0.156 4.5);
Tailwind
colors: {
custom: {
50: '#cc778c',
500: '#af395f',
950: '#000000',
},
}SCSS
$custom: #af395f; $custom-light: #cc778c; $custom-dark: #000000;
JSON
{
"hex": "#af395f",
"rgb": {
"r": 175,
"g": 57,
"b": 95
},
"hsl": {
"h": 340.678,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.52502,
"c": 0.15572,
"h": 4.5
},
"luminance": 0.12866
}Semantic roles & 50–950 ramp
primary
#AF395F
secondary
#81C3AE
accent
#DAAD4D
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D