#AF366E#AF366E
#AF366E is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.165 H 355.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AF366E |
|---|---|
| RGB | rgb(175, 54, 110) |
| HSL | hsl(332, 53%, 45%) |
| HSV | hsv(332, 69%, 69%) |
| CMYK | cmyk(0%, 69.1%, 37.1%, 31.4%) |
| CIE-LAB | lab(42.58, 53.62, -4.72) |
| CIE-LCH | lch(42.58, 53.82, 354.96°) |
| OKLab | oklab(52.66% 0.1642 -0.0118) |
| OKLCH | oklch(52.66% 0.165 355.9) |
| XYZ | xyz(21.8142, 12.8806, 16.0863) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.96
Mediumvioletred
#C71585
ΔE00 6.21
Deep Pink
#CB0162
ΔE00 6.36
Light Burgundy
#A8415B
ΔE00 6.62
Violet Red
#A50055
ΔE00 7.07
Deep Magenta
#A0025C
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF366E #36AF77
analogous
#AF36AB #AF366E #AF3A36
triadic
#AF366E #6EAF36 #366EAF
tetradic
#AF366E #ABAF36 #36AF77 #3A36AF
square
#AF366E #ABAF36 #36AF77 #3A36AF
split-complementary
#AF366E #36AF3A #36ABAF
monochromatic
#511933 #802851 #AF366E #CB578D #DA86AD
Accessibility & contrast
On white
5.87
#AF366E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#AF366E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF366E
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF366E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF366E | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5670
Deuteranopia (green-blind)
#6D6D6B
Tritanopia (blue-blind)
#BD2B4D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #af366e; /* rgb */ color: rgb(175, 54, 110); /* oklch */ color: oklch(52.7% 0.165 355.9);
Tailwind
colors: {
custom: {
50: '#cb7697',
500: '#af366e',
950: '#000000',
},
}SCSS
$custom: #af366e; $custom-light: #cb7697; $custom-dark: #000000;
JSON
{
"hex": "#af366e",
"rgb": {
"r": 175,
"g": 54,
"b": 110
},
"hsl": {
"h": 332.231,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.52664,
"c": 0.16461,
"h": 355.9
},
"luminance": 0.12878
}Semantic roles & 50–950 ramp
primary
#AF366E
secondary
#7DC3A3
accent
#DC994C
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E