#AF4E7B#AF4E7B
#AF4E7B is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.1% C 0.136 H 353.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4E7B |
|---|---|
| RGB | rgb(175, 78, 123) |
| HSL | hsl(332, 38%, 50%) |
| HSV | hsv(332, 55%, 69%) |
| CMYK | cmyk(0%, 55.4%, 29.7%, 31.4%) |
| CIE-LAB | lab(46.97, 44.53, -6.17) |
| CIE-LCH | lch(46.97, 44.95, 352.11°) |
| OKLab | oklab(56.06% 0.135 -0.0158) |
| OKLCH | oklch(56.06% 0.136 353.3) |
| XYZ | xyz(23.9797, 15.9951, 20.5595) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.05
Dark Pink
#CB416B
ΔE00 7.81
Purpleish
#98568D
ΔE00 7.93
Light Burgundy
#A8415B
ΔE00 8.07
Mediumvioletred
#C71585
ΔE00 8.09
Magenta (survey)
#C20078
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4E7B #4EAF82
analogous
#AF4EAC #AF4E7B #AF524E
triadic
#AF4E7B #7BAF4E #4E7BAF
tetradic
#AF4E7B #ACAF4E #4EAF82 #524EAF
square
#AF4E7B #ACAF4E #4EAF82 #524EAF
split-complementary
#AF4E7B #4EAF52 #4EACAF
monochromatic
#5A283F #853B5D #AF4E7B #C3789A #D6A2BA
Accessibility & contrast
On white
5.00
#AF4E7B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#AF4E7B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4E7B
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4E7B | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B647C
Deuteranopia (green-blind)
#757679
Tritanopia (blue-blind)
#BB495F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af4e7b; /* rgb */ color: rgb(175, 78, 123); /* oklch */ color: oklch(56.1% 0.136 353.3);
Tailwind
colors: {
custom: {
50: '#ca83a1',
500: '#af4e7b',
950: '#000000',
},
}SCSS
$custom: #af4e7b; $custom-light: #ca83a1; $custom-dark: #000000;
JSON
{
"hex": "#af4e7b",
"rgb": {
"r": 175,
"g": 78,
"b": 123
},
"hsl": {
"h": 332.165,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.56059,
"c": 0.13595,
"h": 353.3
},
"luminance": 0.15993
}Semantic roles & 50–950 ramp
primary
#AF4E7B
secondary
#96C3AE
accent
#CE985A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E