#AF4F8D#AF4F8D
#AF4F8D is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.9% C 0.145 H 343.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4F8D |
|---|---|
| RGB | rgb(175, 79, 141) |
| HSL | hsl(321, 38%, 50%) |
| HSV | hsv(321, 55%, 69%) |
| CMYK | cmyk(0%, 54.9%, 19.4%, 31.4%) |
| CIE-LAB | lab(47.79, 46.60, -15.78) |
| CIE-LCH | lch(47.79, 49.20, 341.30°) |
| OKLab | oklab(56.88% 0.1388 -0.042) |
| OKLCH | oklch(56.88% 0.145 343.2) |
| XYZ | xyz(25.2835, 16.6311, 27.0726) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.38
Purpleish
#98568D
ΔE00 5.08
Purplish
#94568C
ΔE00 5.92
Ugly Purple
#A442A0
ΔE00 7.34
Mediumvioletred
#C71585
ΔE00 7.52
Medium Purple
#9E43A2
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4F8D #4FAF71
analogous
#A14FAF #AF4F8D #AF4F5D
triadic
#AF4F8D #8DAF4F #4F8DAF
tetradic
#AF4F8D #AFA14F #4FAF71 #4F5DAF
square
#AF4F8D #AFA14F #4FAF71 #4F5DAF
split-complementary
#AF4F8D #5DAF4F #4FAFA1
monochromatic
#5B2949 #853C6B #AF4F8D #C279A8 #D5A3C4
Accessibility & contrast
On white
4.85
#AF4F8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#AF4F8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4F8D
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4F8D | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#56678F
Deuteranopia (green-blind)
#71778B
Tritanopia (blue-blind)
#B94F68
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #af4f8d; /* rgb */ color: rgb(175, 79, 141); /* oklch */ color: oklch(56.9% 0.145 343.2);
Tailwind
colors: {
custom: {
50: '#c984ae',
500: '#af4f8d',
950: '#000000',
},
}SCSS
$custom: #af4f8d; $custom-light: #c984ae; $custom-dark: #000000;
JSON
{
"hex": "#af4f8d",
"rgb": {
"r": 175,
"g": 79,
"b": 141
},
"hsl": {
"h": 321.25,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.56882,
"c": 0.14502,
"h": 343.2
},
"luminance": 0.16629
}Semantic roles & 50–950 ramp
primary
#AF4F8D
secondary
#97C3A7
accent
#CE835A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130B10
muted
#827C7F