#AF396C#AF396C
#AF396C is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.9% C 0.160 H 357.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AF396C |
|---|---|
| RGB | rgb(175, 57, 108) |
| HSL | hsl(334, 51%, 45%) |
| HSV | hsv(334, 67%, 69%) |
| CMYK | cmyk(0%, 67.4%, 38.3%, 31.4%) |
| CIE-LAB | lab(42.95, 52.20, -2.94) |
| CIE-LCH | lch(42.95, 52.28, 356.78°) |
| OKLab | oklab(52.92% 0.1598 -0.0071) |
| OKLCH | oklch(52.92% 0.16 357.5) |
| XYZ | xyz(21.8505, 13.1255, 15.5672) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 5.71
Light Burgundy
#A8415B
ΔE00 5.72
Deep Pink
#CB0162
ΔE00 6.11
Mediumvioletred
#C71585
ΔE00 6.93
Violet Red
#A50055
ΔE00 7.28
Dark Pink
#CB416B
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF396C #39AF7C
analogous
#AF39A7 #AF396C #AF4139
triadic
#AF396C #6CAF39 #396CAF
tetradic
#AF396C #A7AF39 #39AF7C #4139AF
square
#AF396C #A7AF39 #39AF7C #4139AF
split-complementary
#AF396C #39AF41 #39A7AF
monochromatic
#531B33 #812A50 #AF396C #CA5B8B #D98AAC
Accessibility & contrast
On white
5.79
#AF396C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#AF396C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF396C
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF396C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF396C | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F576D
Deuteranopia (green-blind)
#6F6E69
Tritanopia (blue-blind)
#BD2D4E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af396c; /* rgb */ color: rgb(175, 57, 108); /* oklch */ color: oklch(52.9% 0.160 357.5);
Tailwind
colors: {
custom: {
50: '#cb7796',
500: '#af396c',
950: '#000000',
},
}SCSS
$custom: #af396c; $custom-light: #cb7796; $custom-dark: #000000;
JSON
{
"hex": "#af396c",
"rgb": {
"r": 175,
"g": 57,
"b": 108
},
"hsl": {
"h": 334.068,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.52915,
"c": 0.15993,
"h": 357.5
},
"luminance": 0.13123
}Semantic roles & 50–950 ramp
primary
#AF396C
secondary
#81C3A6
accent
#DA9D4D
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#14090D
muted
#837B7E