#AF4B7D#AF4B7D
#AF4B7D is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.7% C 0.142 H 351.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4B7D |
|---|---|
| RGB | rgb(175, 75, 125) |
| HSL | hsl(330, 40%, 49%) |
| HSV | hsv(330, 57%, 69%) |
| CMYK | cmyk(0%, 57.1%, 28.6%, 31.4%) |
| CIE-LAB | lab(46.48, 46.25, -8.11) |
| CIE-LCH | lch(46.48, 46.96, 350.06°) |
| OKLab | oklab(55.72% 0.1402 -0.0209) |
| OKLCH | oklch(55.72% 0.142 351.5) |
| XYZ | xyz(23.8979, 15.6291, 21.1562) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.89
Mediumvioletred
#C71585
ΔE00 7.20
Purpleish
#98568D
ΔE00 7.39
Magenta (survey)
#C20078
ΔE00 7.73
Purplish
#94568C
ΔE00 8.05
Dark Pink
#CB416B
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4B7D #4BAF7D
analogous
#AF4BAF #AF4B7D #AF4B4B
triadic
#AF4B7D #7DAF4B #4B7DAF
tetradic
#AF4B7D #AFAF4B #4BAF7D #4B4BAF
square
#AF4B7D #AFAF4B #4BAF7D #4B4BAF
split-complementary
#AF4B7D #4BAF4B #4BAFAF
monochromatic
#592640 #84395E #AF4B7D #C3749C #D69FBA
Accessibility & contrast
On white
5.09
#AF4B7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#AF4B7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4B7D
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4B7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4B7D | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58637F
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#BB475E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #af4b7d; /* rgb */ color: rgb(175, 75, 125); /* oklch */ color: oklch(55.7% 0.142 351.5);
Tailwind
colors: {
custom: {
50: '#ca82a2',
500: '#af4b7d',
950: '#000000',
},
}SCSS
$custom: #af4b7d; $custom-light: #ca82a2; $custom-dark: #000000;
JSON
{
"hex": "#af4b7d",
"rgb": {
"r": 175,
"g": 75,
"b": 125
},
"hsl": {
"h": 330,
"s": 40,
"l": 49.02
},
"oklch": {
"l": 0.5572,
"c": 0.14171,
"h": 351.5
},
"luminance": 0.15627
}Semantic roles & 50–950 ramp
primary
#AF4B7D
secondary
#93C2AB
accent
#D09458
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0F
muted
#827C7E