#AF396E#AF396E
#AF396E is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.0% C 0.161 H 356.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AF396E |
|---|---|
| RGB | rgb(175, 57, 110) |
| HSL | hsl(333, 51%, 45%) |
| HSV | hsv(333, 67%, 69%) |
| CMYK | cmyk(0%, 67.4%, 37.1%, 31.4%) |
| CIE-LAB | lab(43.02, 52.42, -4.08) |
| CIE-LCH | lch(43.02, 52.58, 355.55°) |
| OKLab | oklab(52.98% 0.1604 -0.0101) |
| OKLCH | oklch(52.98% 0.161 356.4) |
| XYZ | xyz(21.9581, 13.1685, 16.1343) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 5.41
Light Burgundy
#A8415B
ΔE00 6.24
Deep Pink
#CB0162
ΔE00 6.38
Mediumvioletred
#C71585
ΔE00 6.52
Violet Red
#A50055
ΔE00 7.45
Deep Magenta
#A0025C
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF396E #39AF7A
analogous
#AF39A9 #AF396E #AF3F39
triadic
#AF396E #6EAF39 #396EAF
tetradic
#AF396E #A9AF39 #39AF7A #3F39AF
square
#AF396E #A9AF39 #39AF7A #3F39AF
split-complementary
#AF396E #39AF3F #39A9AF
monochromatic
#531B34 #812A51 #AF396E #CA5B8D #D98AAD
Accessibility & contrast
On white
5.78
#AF396E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#AF396E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF396E
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF396E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF396E | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E586F
Deuteranopia (green-blind)
#6E6E6B
Tritanopia (blue-blind)
#BD2E4F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #af396e; /* rgb */ color: rgb(175, 57, 110); /* oklch */ color: oklch(53.0% 0.161 356.4);
Tailwind
colors: {
custom: {
50: '#cb7797',
500: '#af396e',
950: '#000000',
},
}SCSS
$custom: #af396e; $custom-light: #cb7797; $custom-dark: #000000;
JSON
{
"hex": "#af396e",
"rgb": {
"r": 175,
"g": 57,
"b": 110
},
"hsl": {
"h": 333.051,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.52984,
"c": 0.16074,
"h": 356.4
},
"luminance": 0.13166
}Semantic roles & 50–950 ramp
primary
#AF396E
secondary
#81C3A5
accent
#DA9B4D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090D
muted
#837B7E