#AF467F#AF467F
#AF467F is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.1% C 0.151 H 349.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF467F |
|---|---|
| RGB | rgb(175, 70, 127) |
| HSL | hsl(327, 43%, 48%) |
| HSV | hsv(327, 60%, 69%) |
| CMYK | cmyk(0%, 60%, 27.4%, 31.4%) |
| CIE-LAB | lab(45.67, 48.88, -10.54) |
| CIE-LCH | lch(45.67, 50.00, 347.83°) |
| OKLab | oklab(55.14% 0.148 -0.0275) |
| OKLCH | oklch(55.14% 0.151 349.5) |
| XYZ | xyz(23.7011, 15.0289, 21.7272) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.21
Mediumvioletred
#C71585
ΔE00 6.07
Magenta (survey)
#C20078
ΔE00 6.72
Purpleish
#98568D
ΔE00 7.06
Purplish
#94568C
ΔE00 7.71
Ugly Purple
#A442A0
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF467F #46AF76
analogous
#AA46AF #AF467F #AF464A
triadic
#AF467F #7FAF46 #467FAF
tetradic
#AF467F #AFAA46 #46AF76 #464AAF
square
#AF467F #AFAA46 #46AF76 #464AAF
split-complementary
#AF467F #4AAF46 #46AFAA
monochromatic
#582340 #83355F #AF467F #C56D9D #D699BA
Accessibility & contrast
On white
5.24
#AF467F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#AF467F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF467F
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF467F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF467F | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536181
Deuteranopia (green-blind)
#70737C
Tritanopia (blue-blind)
#BB425D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af467f; /* rgb */ color: rgb(175, 70, 127); /* oklch */ color: oklch(55.1% 0.151 349.5);
Tailwind
colors: {
custom: {
50: '#ca7fa4',
500: '#af467f',
950: '#000000',
},
}SCSS
$custom: #af467f; $custom-light: #ca7fa4; $custom-dark: #000000;
JSON
{
"hex": "#af467f",
"rgb": {
"r": 175,
"g": 70,
"b": 127
},
"hsl": {
"h": 327.429,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.55141,
"c": 0.15051,
"h": 349.5
},
"luminance": 0.15027
}Semantic roles & 50–950 ramp
primary
#AF467F
secondary
#8EC2A6
accent
#D38F55
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A0F
muted
#827C7F