#AF437D#AF437D
#AF437D is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.7% C 0.154 H 350.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF437D |
|---|---|
| RGB | rgb(175, 67, 125) |
| HSL | hsl(328, 45%, 47%) |
| HSV | hsv(328, 62%, 69%) |
| CMYK | cmyk(0%, 61.7%, 28.6%, 31.4%) |
| CIE-LAB | lab(45.10, 49.97, -10.19) |
| CIE-LCH | lch(45.10, 51.00, 348.48°) |
| OKLab | oklab(54.69% 0.1516 -0.0265) |
| OKLCH | oklch(54.69% 0.154 350.1) |
| XYZ | xyz(23.3890, 14.6113, 20.9865) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.70
Mediumvioletred
#C71585
ΔE00 5.73
Magenta (survey)
#C20078
ΔE00 6.16
Purpleish
#98568D
ΔE00 7.48
Purplish
#94568C
ΔE00 8.10
Deep Pink
#CB0162
ΔE00 9.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF437D #43AF75
analogous
#AB43AF #AF437D #AF4347
triadic
#AF437D #7DAF43 #437DAF
tetradic
#AF437D #AFAB43 #43AF75 #4347AF
square
#AF437D #AFAB43 #43AF75 #4347AF
split-complementary
#AF437D #47AF43 #43AFAB
monochromatic
#56213E #83325D #AF437D #C6699B #D796B9
Accessibility & contrast
On white
5.35
#AF437D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#AF437D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF437D
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF437D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF437D | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515F7F
Deuteranopia (green-blind)
#6F727A
Tritanopia (blue-blind)
#BB3E5A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af437d; /* rgb */ color: rgb(175, 67, 125); /* oklch */ color: oklch(54.7% 0.154 350.1);
Tailwind
colors: {
custom: {
50: '#ca7da2',
500: '#af437d',
950: '#000000',
},
}SCSS
$custom: #af437d; $custom-light: #ca7da2; $custom-dark: #000000;
JSON
{
"hex": "#af437d",
"rgb": {
"r": 175,
"g": 67,
"b": 125
},
"hsl": {
"h": 327.778,
"s": 44.628,
"l": 47.451
},
"oklch": {
"l": 0.5469,
"c": 0.15391,
"h": 350.1
},
"luminance": 0.14609
}Semantic roles & 50–950 ramp
primary
#AF437D
secondary
#8BC2A5
accent
#D48F53
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#140A0F
muted
#827C7F