#AF3C7C#AF3C7C
#AF3C7C is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.8% C 0.163 H 349.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3C7C |
|---|---|
| RGB | rgb(175, 60, 124) |
| HSL | hsl(327, 49%, 46%) |
| HSV | hsv(327, 66%, 69%) |
| CMYK | cmyk(0%, 65.7%, 29.1%, 31.4%) |
| CIE-LAB | lab(43.95, 52.88, -11.31) |
| CIE-LCH | lch(43.95, 54.07, 347.93°) |
| OKLab | oklab(53.83% 0.1607 -0.0295) |
| OKLCH | oklch(53.83% 0.163 349.6) |
| XYZ | xyz(22.9342, 13.8033, 20.5214) |
| Luminance | 0.1380 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.87
Magenta (survey)
#C20078
ΔE00 5.06
Light Plum
#9D5783
ΔE00 6.70
Purpleish
#98568D
ΔE00 8.04
Red Violet
#9E0168
ΔE00 8.51
Purplish
#94568C
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3C7C #3CAF6F
analogous
#A83CAF #AF3C7C #AF3C42
triadic
#AF3C7C #7CAF3C #3C7CAF
tetradic
#AF3C7C #AFA83C #3CAF6F #3C42AF
square
#AF3C7C #AFA83C #3CAF6F #3C42AF
split-complementary
#AF3C7C #42AF3C #3CAFA8
monochromatic
#541D3B #812C5C #AF3C7C #C8609A #D88DB7
Accessibility & contrast
On white
5.58
#AF3C7C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#AF3C7C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3C7C
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3C7C | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5B7E
Deuteranopia (green-blind)
#6C6F79
Tritanopia (blue-blind)
#BB3757
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #af3c7c; /* rgb */ color: rgb(175, 60, 124); /* oklch */ color: oklch(53.8% 0.163 349.6);
Tailwind
colors: {
custom: {
50: '#cb79a2',
500: '#af3c7c',
950: '#000000',
},
}SCSS
$custom: #af3c7c; $custom-light: #cb79a2; $custom-dark: #000000;
JSON
{
"hex": "#af3c7c",
"rgb": {
"r": 175,
"g": 60,
"b": 124
},
"hsl": {
"h": 326.609,
"s": 48.936,
"l": 46.078
},
"oklch": {
"l": 0.53831,
"c": 0.1634,
"h": 349.6
},
"luminance": 0.13801
}Semantic roles & 50–950 ramp
primary
#AF3C7C
secondary
#84C3A0
accent
#D88C4F
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0F
muted
#827C7E