#AF225E#AF225E
#AF225E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.180 H 1.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF225E |
|---|---|
| RGB | rgb(175, 34, 94) |
| HSL | hsl(334, 67%, 41%) |
| HSV | hsv(334, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 46.3%, 31.4%) |
| CIE-LAB | lab(39.70, 58.67, 1.06) |
| CIE-LCH | lch(39.70, 58.68, 1.04°) |
| OKLab | oklab(50.38% 0.1803 0.0034) |
| OKLCH | oklch(50.38% 0.18 1.1) |
| XYZ | xyz(20.2733, 11.0689, 11.6565) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.82
Purplish Red
#B0054B
ΔE00 4.68
Deep Pink
#CB0162
ΔE00 5.00
Raspberry (survey)
#B00149
ΔE00 5.17
Deep Magenta
#A0025C
ΔE00 5.27
Dark Fuchsia
#9D0759
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF225E #22AF73
analogous
#AF22A4 #AF225E #AF2C22
triadic
#AF225E #5EAF22 #225EAF
tetradic
#AF225E #A4AF22 #22AF73 #2C22AF
square
#AF225E #A4AF22 #22AF73 #2C22AF
split-complementary
#AF225E #22AF2C #22A4AF
monochromatic
#490E27 #7C1842 #AF225E #D8367B #E2699D
Accessibility & contrast
On white
6.54
#AF225E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF225E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF225E
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF225E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF225E | 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)
#454C5F
Deuteranopia (green-blind)
#6B675B
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af225e; /* rgb */ color: rgb(175, 34, 94); /* oklch */ color: oklch(50.4% 0.180 1.1);
Tailwind
colors: {
custom: {
50: '#cd6d8b',
500: '#af225e',
950: '#000000',
},
}SCSS
$custom: #af225e; $custom-light: #cd6d8b; $custom-dark: #000000;
JSON
{
"hex": "#af225e",
"rgb": {
"r": 175,
"g": 34,
"b": 94
},
"hsl": {
"h": 334.468,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.50377,
"c": 0.1803,
"h": 1.1
},
"luminance": 0.11066
}Semantic roles & 50–950 ramp
primary
#AF225E
secondary
#65C89E
accent
#EAA13D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D