#AF3D7B#AF3D7B
#AF3D7B is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.9% C 0.161 H 350.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3D7B |
|---|---|
| RGB | rgb(175, 61, 123) |
| HSL | hsl(327, 48%, 46%) |
| HSV | hsv(327, 65%, 69%) |
| CMYK | cmyk(0%, 65.1%, 29.7%, 31.4%) |
| CIE-LAB | lab(44.07, 52.33, -10.52) |
| CIE-LCH | lch(44.07, 53.38, 348.63°) |
| OKLab | oklab(53.91% 0.1591 -0.0274) |
| OKLCH | oklch(53.91% 0.161 350.2) |
| XYZ | xyz(22.9242, 13.8839, 20.2076) |
| Luminance | 0.1388 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.07
Magenta (survey)
#C20078
ΔE00 5.18
Light Plum
#9D5783
ΔE00 6.60
Purpleish
#98568D
ΔE00 8.11
Deep Pink
#CB0162
ΔE00 8.60
Purplish
#94568C
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3D7B #3DAF71
analogous
#AA3DAF #AF3D7B #AF3D42
triadic
#AF3D7B #7BAF3D #3D7BAF
tetradic
#AF3D7B #AFAA3D #3DAF71 #3D42AF
square
#AF3D7B #AFAA3D #3DAF71 #3D42AF
split-complementary
#AF3D7B #42AF3D #3DAFAA
monochromatic
#541D3B #822D5B #AF3D7B #C86199 #D88FB6
Accessibility & contrast
On white
5.56
#AF3D7B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#AF3D7B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3D7B
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3D7B | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5B7D
Deuteranopia (green-blind)
#6D7078
Tritanopia (blue-blind)
#BB3857
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #af3d7b; /* rgb */ color: rgb(175, 61, 123); /* oklch */ color: oklch(53.9% 0.161 350.2);
Tailwind
colors: {
custom: {
50: '#cb7aa1',
500: '#af3d7b',
950: '#000000',
},
}SCSS
$custom: #af3d7b; $custom-light: #cb7aa1; $custom-dark: #000000;
JSON
{
"hex": "#af3d7b",
"rgb": {
"r": 175,
"g": 61,
"b": 123
},
"hsl": {
"h": 327.368,
"s": 48.305,
"l": 46.275
},
"oklch": {
"l": 0.53905,
"c": 0.16147,
"h": 350.2
},
"luminance": 0.13882
}Semantic roles & 50–950 ramp
primary
#AF3D7B
secondary
#85C3A1
accent
#D88E50
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E