#AF3E7B#AF3E7B
#AF3E7B is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.0% C 0.160 H 350.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3E7B |
|---|---|
| RGB | rgb(175, 62, 123) |
| HSL | hsl(328, 48%, 46%) |
| HSV | hsv(328, 65%, 69%) |
| CMYK | cmyk(0%, 64.6%, 29.7%, 31.4%) |
| CIE-LAB | lab(44.22, 51.91, -10.29) |
| CIE-LCH | lch(44.22, 52.91, 348.79°) |
| OKLab | oklab(54.02% 0.1578 -0.0268) |
| OKLCH | oklch(54.02% 0.16 350.4) |
| XYZ | xyz(22.9780, 13.9917, 20.2256) |
| Luminance | 0.1399 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.19
Magenta (survey)
#C20078
ΔE00 5.33
Light Plum
#9D5783
ΔE00 6.47
Purpleish
#98568D
ΔE00 8.05
Deep Pink
#CB0162
ΔE00 8.61
Purplish
#94568C
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3E7B #3EAF72
analogous
#AB3EAF #AF3E7B #AF3E43
triadic
#AF3E7B #7BAF3E #3E7BAF
tetradic
#AF3E7B #AFAB3E #3EAF72 #3E43AF
square
#AF3E7B #AFAB3E #3EAF72 #3E43AF
split-complementary
#AF3E7B #43AF3E #3EAFAB
monochromatic
#551E3B #822E5B #AF3E7B #C86399 #D890B7
Accessibility & contrast
On white
5.53
#AF3E7B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#AF3E7B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3E7B
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3E7B | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5C7D
Deuteranopia (green-blind)
#6D7078
Tritanopia (blue-blind)
#BB3957
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af3e7b; /* rgb */ color: rgb(175, 62, 123); /* oklch */ color: oklch(54.0% 0.160 350.4);
Tailwind
colors: {
custom: {
50: '#ca7aa1',
500: '#af3e7b',
950: '#000000',
},
}SCSS
$custom: #af3e7b; $custom-light: #ca7aa1; $custom-dark: #000000;
JSON
{
"hex": "#af3e7b",
"rgb": {
"r": 175,
"g": 62,
"b": 123
},
"hsl": {
"h": 327.611,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.54019,
"c": 0.16007,
"h": 350.4
},
"luminance": 0.13989
}Semantic roles & 50–950 ramp
primary
#AF3E7B
secondary
#86C3A2
accent
#D78F51
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E