#AF225D#AF225D
#AF225D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.180 H 1.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF225D |
|---|---|
| RGB | rgb(175, 34, 93) |
| HSL | hsl(335, 67%, 41%) |
| HSV | hsv(335, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 46.9%, 31.4%) |
| CIE-LAB | lab(39.67, 58.58, 1.65) |
| CIE-LCH | lch(39.67, 58.61, 1.62°) |
| OKLab | oklab(50.35% 0.1799 0.0049) |
| OKLCH | oklch(50.35% 0.18 1.6) |
| XYZ | xyz(20.2287, 11.0511, 11.4217) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.83
Purplish Red
#B0054B
ΔE00 4.43
Raspberry (survey)
#B00149
ΔE00 4.92
Deep Pink
#CB0162
ΔE00 4.95
Deep Magenta
#A0025C
ΔE00 5.41
Dark Fuchsia
#9D0759
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF225D #22AF74
analogous
#AF22A3 #AF225D #AF2E22
triadic
#AF225D #5DAF22 #225DAF
tetradic
#AF225D #A3AF22 #22AF74 #2E22AF
square
#AF225D #A3AF22 #22AF74 #2E22AF
split-complementary
#AF225D #22AF2E #22A3AF
monochromatic
#490E27 #7C1842 #AF225D #D8367A #E2699C
Accessibility & contrast
On white
6.54
#AF225D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF225D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF225D
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF225D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF225D | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#6B675A
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af225d; /* rgb */ color: rgb(175, 34, 93); /* oklch */ color: oklch(50.3% 0.180 1.6);
Tailwind
colors: {
custom: {
50: '#cd6d8a',
500: '#af225d',
950: '#000000',
},
}SCSS
$custom: #af225d; $custom-light: #cd6d8a; $custom-dark: #000000;
JSON
{
"hex": "#af225d",
"rgb": {
"r": 175,
"g": 34,
"b": 93
},
"hsl": {
"h": 334.894,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.50346,
"c": 0.18,
"h": 1.6
},
"luminance": 0.11048
}Semantic roles & 50–950 ramp
primary
#AF225D
secondary
#65C89E
accent
#EAA23D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C