#AF437F#AF437F
#AF437F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.8% C 0.155 H 349.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AF437F |
|---|---|
| RGB | rgb(175, 67, 127) |
| HSL | hsl(327, 45%, 47%) |
| HSV | hsv(327, 62%, 69%) |
| CMYK | cmyk(0%, 61.7%, 27.4%, 31.4%) |
| CIE-LAB | lab(45.17, 50.24, -11.30) |
| CIE-LCH | lch(45.17, 51.50, 347.33°) |
| OKLab | oklab(54.77% 0.1522 -0.0295) |
| OKLCH | oklch(54.77% 0.155 349) |
| XYZ | xyz(23.5181, 14.6629, 21.6662) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.58
Light Plum
#9D5783
ΔE00 5.60
Magenta (survey)
#C20078
ΔE00 6.19
Purpleish
#98568D
ΔE00 7.18
Purplish
#94568C
ΔE00 7.81
Ugly Purple
#A442A0
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF437F #43AF73
analogous
#A943AF #AF437F #AF4349
triadic
#AF437F #7FAF43 #437FAF
tetradic
#AF437F #AFA943 #43AF73 #4349AF
square
#AF437F #AFA943 #43AF73 #4349AF
split-complementary
#AF437F #49AF43 #43AFA9
monochromatic
#56213F #83325F #AF437F #C6699D #D796BA
Accessibility & contrast
On white
5.34
#AF437F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#AF437F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF437F
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF437F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF437F | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505F81
Deuteranopia (green-blind)
#6E727C
Tritanopia (blue-blind)
#BB3F5B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af437f; /* rgb */ color: rgb(175, 67, 127); /* oklch */ color: oklch(54.8% 0.155 349.0);
Tailwind
colors: {
custom: {
50: '#ca7da4',
500: '#af437f',
950: '#000000',
},
}SCSS
$custom: #af437f; $custom-light: #ca7da4; $custom-dark: #000000;
JSON
{
"hex": "#af437f",
"rgb": {
"r": 175,
"g": 67,
"b": 127
},
"hsl": {
"h": 326.667,
"s": 44.628,
"l": 47.451
},
"oklch": {
"l": 0.54767,
"c": 0.15501,
"h": 349
},
"luminance": 0.14661
}Semantic roles & 50–950 ramp
primary
#AF437F
secondary
#8BC2A4
accent
#D48D53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F