#AF4B79#AF4B79
#AF4B79 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.6% C 0.140 H 353.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4B79 |
|---|---|
| RGB | rgb(175, 75, 121) |
| HSL | hsl(332, 40%, 49%) |
| HSV | hsv(332, 57%, 69%) |
| CMYK | cmyk(0%, 57.1%, 30.9%, 31.4%) |
| CIE-LAB | lab(46.35, 45.72, -5.88) |
| CIE-LCH | lch(46.35, 46.10, 352.67°) |
| OKLab | oklab(55.58% 0.1389 -0.015) |
| OKLCH | oklch(55.58% 0.14 353.9) |
| XYZ | xyz(23.6475, 15.5289, 19.8374) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.44
Light Burgundy
#A8415B
ΔE00 7.62
Dark Pink
#CB416B
ΔE00 7.64
Mediumvioletred
#C71585
ΔE00 7.67
Magenta (survey)
#C20078
ΔE00 7.91
Purpleish
#98568D
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4B79 #4BAF81
analogous
#AF4BAB #AF4B79 #AF4F4B
triadic
#AF4B79 #79AF4B #4B79AF
tetradic
#AF4B79 #ABAF4B #4BAF81 #4F4BAF
square
#AF4B79 #ABAF4B #4BAF81 #4F4BAF
split-complementary
#AF4B79 #4BAF4F #4BABAF
monochromatic
#59263E #84395B #AF4B79 #C37498 #D69FB8
Accessibility & contrast
On white
5.12
#AF4B79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#AF4B79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4B79
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4B79 | 1.00 | 5.12 | 4.11 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59627A
Deuteranopia (green-blind)
#747577
Tritanopia (blue-blind)
#BB455D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #af4b79; /* rgb */ color: rgb(175, 75, 121); /* oklch */ color: oklch(55.6% 0.140 353.9);
Tailwind
colors: {
custom: {
50: '#ca829f',
500: '#af4b79',
950: '#000000',
},
}SCSS
$custom: #af4b79; $custom-light: #ca829f; $custom-dark: #000000;
JSON
{
"hex": "#af4b79",
"rgb": {
"r": 175,
"g": 75,
"b": 121
},
"hsl": {
"h": 332.4,
"s": 40,
"l": 49.02
},
"oklch": {
"l": 0.55576,
"c": 0.13969,
"h": 353.9
},
"luminance": 0.15527
}Semantic roles & 50–950 ramp
primary
#AF4B79
secondary
#93C2AD
accent
#D09958
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E