#AF367E#AF367E
#AF367E is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.173 H 347.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AF367E |
|---|---|
| RGB | rgb(175, 54, 126) |
| HSL | hsl(324, 53%, 45%) |
| HSV | hsv(324, 69%, 69%) |
| CMYK | cmyk(0%, 69.1%, 28%, 31.4%) |
| CIE-LAB | lab(43.15, 55.54, -13.74) |
| CIE-LCH | lch(43.15, 57.21, 346.11°) |
| OKLab | oklab(53.27% 0.1687 -0.0361) |
| OKLCH | oklch(53.27% 0.173 347.9) |
| XYZ | xyz(22.7653, 13.2611, 21.0954) |
| Luminance | 0.1326 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.29
Magenta (survey)
#C20078
ΔE00 4.51
Light Plum
#9D5783
ΔE00 7.50
Red Violet
#9E0168
ΔE00 7.62
Ugly Purple
#A442A0
ΔE00 8.24
Purpleish
#98568D
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF367E #36AF67
analogous
#A436AF #AF367E #AF3641
triadic
#AF367E #7EAF36 #367EAF
tetradic
#AF367E #AFA436 #36AF67 #3641AF
square
#AF367E #AFA436 #36AF67 #3641AF
split-complementary
#AF367E #41AF36 #36AFA4
monochromatic
#51193B #80285C #AF367E #CB579C #DA86B8
Accessibility & contrast
On white
5.75
#AF367E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#AF367E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF367E
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF367E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF367E | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465980
Deuteranopia (green-blind)
#696E7B
Tritanopia (blue-blind)
#BB3255
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #af367e; /* rgb */ color: rgb(175, 54, 126); /* oklch */ color: oklch(53.3% 0.173 347.9);
Tailwind
colors: {
custom: {
50: '#cb76a3',
500: '#af367e',
950: '#000000',
},
}SCSS
$custom: #af367e; $custom-light: #cb76a3; $custom-dark: #000000;
JSON
{
"hex": "#af367e",
"rgb": {
"r": 175,
"g": 54,
"b": 126
},
"hsl": {
"h": 324.298,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.53271,
"c": 0.17252,
"h": 347.9
},
"luminance": 0.13259
}Semantic roles & 50–950 ramp
primary
#AF367E
secondary
#7DC39A
accent
#DC864C
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F