#AF4F91#AF4F91
#AF4F91 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.0% C 0.148 H 341.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4F91 |
|---|---|
| RGB | rgb(175, 79, 145) |
| HSL | hsl(319, 38%, 50%) |
| HSV | hsv(319, 55%, 69%) |
| CMYK | cmyk(0%, 54.9%, 17.1%, 31.4%) |
| CIE-LAB | lab(47.95, 47.21, -17.93) |
| CIE-LCH | lch(47.95, 50.51, 339.20°) |
| OKLab | oklab(57.05% 0.1398 -0.048) |
| OKLCH | oklch(57.05% 0.148 341.1) |
| XYZ | xyz(25.5865, 16.7523, 28.6685) |
| Luminance | 0.1675 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.85
Light Plum
#9D5783
ΔE00 4.85
Purplish
#94568C
ΔE00 5.70
Ugly Purple
#A442A0
ΔE00 6.56
Mediumvioletred
#C71585
ΔE00 7.71
Medium Purple
#9E43A2
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4F91 #4FAF6D
analogous
#9D4FAF #AF4F91 #AF4F61
triadic
#AF4F91 #91AF4F #4F91AF
tetradic
#AF4F91 #AF9D4F #4FAF6D #4F61AF
square
#AF4F91 #AF9D4F #4FAF6D #4F61AF
split-complementary
#AF4F91 #61AF4F #4FAF9D
monochromatic
#5B294B #853C6E #AF4F91 #C279AB #D5A3C6
Accessibility & contrast
On white
4.83
#AF4F91 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#AF4F91 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4F91
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4F91 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546893
Deuteranopia (green-blind)
#6F778F
Tritanopia (blue-blind)
#B85069
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #af4f91; /* rgb */ color: rgb(175, 79, 145); /* oklch */ color: oklch(57.0% 0.148 341.1);
Tailwind
colors: {
custom: {
50: '#c984b1',
500: '#af4f91',
950: '#000000',
},
}SCSS
$custom: #af4f91; $custom-light: #c984b1; $custom-dark: #000000;
JSON
{
"hex": "#af4f91",
"rgb": {
"r": 175,
"g": 79,
"b": 145
},
"hsl": {
"h": 318.75,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.57048,
"c": 0.14783,
"h": 341.1
},
"luminance": 0.1675
}Semantic roles & 50–950 ramp
primary
#AF4F91
secondary
#97C3A5
accent
#CE7E5A
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#130B10
muted
#827C7F