#AF377E#AF377E
#AF377E is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.171 H 348.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AF377E |
|---|---|
| RGB | rgb(175, 55, 126) |
| HSL | hsl(325, 52%, 45%) |
| HSV | hsv(325, 69%, 69%) |
| CMYK | cmyk(0%, 68.6%, 28%, 31.4%) |
| CIE-LAB | lab(43.29, 55.15, -13.53) |
| CIE-LCH | lch(43.29, 56.79, 346.22°) |
| OKLab | oklab(53.37% 0.1675 -0.0356) |
| OKLCH | oklch(53.37% 0.171 348) |
| XYZ | xyz(22.8123, 13.3551, 21.1110) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.34
Magenta (survey)
#C20078
ΔE00 4.60
Light Plum
#9D5783
ΔE00 7.36
Red Violet
#9E0168
ΔE00 7.76
Purpleish
#98568D
ΔE00 8.20
Ugly Purple
#A442A0
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF377E #37AF68
analogous
#A437AF #AF377E #AF3742
triadic
#AF377E #7EAF37 #377EAF
tetradic
#AF377E #AFA437 #37AF68 #3742AF
square
#AF377E #AFA437 #37AF68 #3742AF
split-complementary
#AF377E #42AF37 #37AFA4
monochromatic
#521A3B #80285C #AF377E #CB599C #D987B8
Accessibility & contrast
On white
5.72
#AF377E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#AF377E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF377E
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF377E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF377E | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#BB3355
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #af377e; /* rgb */ color: rgb(175, 55, 126); /* oklch */ color: oklch(53.4% 0.171 348.0);
Tailwind
colors: {
custom: {
50: '#cb77a3',
500: '#af377e',
950: '#000000',
},
}SCSS
$custom: #af377e; $custom-light: #cb77a3; $custom-dark: #000000;
JSON
{
"hex": "#af377e",
"rgb": {
"r": 175,
"g": 55,
"b": 126
},
"hsl": {
"h": 324.5,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.53373,
"c": 0.17122,
"h": 348
},
"luminance": 0.13353
}Semantic roles & 50–950 ramp
primary
#AF377E
secondary
#7FC39B
accent
#DC874C
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F