#AF4273#AF4273
#AF4273 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.2% C 0.150 H 355.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4273 |
|---|---|
| RGB | rgb(175, 66, 115) |
| HSL | hsl(333, 45%, 47%) |
| HSV | hsv(333, 62%, 69%) |
| CMYK | cmyk(0%, 62.3%, 34.3%, 31.4%) |
| CIE-LAB | lab(44.59, 49.16, -4.83) |
| CIE-LCH | lch(44.59, 49.39, 354.39°) |
| OKLab | oklab(54.2% 0.15 -0.0121) |
| OKLCH | oklch(54.2% 0.15 355.4) |
| XYZ | xyz(22.7231, 14.2506, 17.7703) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 6.43
Light Burgundy
#A8415B
ΔE00 6.58
Mediumvioletred
#C71585
ΔE00 6.85
Light Plum
#9D5783
ΔE00 6.90
Deep Pink
#CB0162
ΔE00 7.43
Dark Pink
#CB416B
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4273 #42AF7E
analogous
#AF42A9 #AF4273 #AF4842
triadic
#AF4273 #73AF42 #4273AF
tetradic
#AF4273 #A9AF42 #42AF7E #4842AF
square
#AF4273 #A9AF42 #42AF7E #4842AF
split-complementary
#AF4273 #42AF48 #42A9AF
monochromatic
#562039 #833156 #AF4273 #C66892 #D795B2
Accessibility & contrast
On white
5.46
#AF4273 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#AF4273 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4273
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4273 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4273 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535D74
Deuteranopia (green-blind)
#717170
Tritanopia (blue-blind)
#BC3A55
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af4273; /* rgb */ color: rgb(175, 66, 115); /* oklch */ color: oklch(54.2% 0.150 355.4);
Tailwind
colors: {
custom: {
50: '#cb7c9b',
500: '#af4273',
950: '#000000',
},
}SCSS
$custom: #af4273; $custom-light: #cb7c9b; $custom-dark: #000000;
JSON
{
"hex": "#af4273",
"rgb": {
"r": 175,
"g": 66,
"b": 115
},
"hsl": {
"h": 333.028,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.54203,
"c": 0.15044,
"h": 355.4
},
"luminance": 0.14248
}Semantic roles & 50–950 ramp
primary
#AF4273
secondary
#8AC2A9
accent
#D59A53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E