#AF2248#AF2248
#AF2248 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.176 H 11.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2248 |
|---|---|
| RGB | rgb(175, 34, 72) |
| HSL | hsl(344, 67%, 41%) |
| HSV | hsv(344, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 58.9%, 31.4%) |
| CIE-LAB | lab(39.12, 56.92, 14.24) |
| CIE-LCH | lch(39.12, 58.68, 14.05°) |
| OKLab | oklab(49.77% 0.1721 0.0354) |
| OKLCH | oklch(49.77% 0.176 11.6) |
| XYZ | xyz(19.4229, 10.7288, 7.1778) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.93
Purplish Red
#B0054B
ΔE00 3.12
Rouge
#AB1239
ΔE00 3.65
Rose Red
#BE013C
ΔE00 4.43
Ruby
#CA0147
ΔE00 4.97
Cranberry
#9E003A
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2248 #22AF89
analogous
#AF228E #AF2248 #AF4222
triadic
#AF2248 #48AF22 #2248AF
tetradic
#AF2248 #8EAF22 #22AF89 #4222AF
square
#AF2248 #8EAF22 #22AF89 #4222AF
split-complementary
#AF2248 #22AF42 #228EAF
monochromatic
#490E1E #7C1833 #AF2248 #D83662 #E2698A
Accessibility & contrast
On white
6.68
#AF2248 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AF2248 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2248
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2248 | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4A49
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2248; /* rgb */ color: rgb(175, 34, 72); /* oklch */ color: oklch(49.8% 0.176 11.6);
Tailwind
colors: {
custom: {
50: '#ce6c7a',
500: '#af2248',
950: '#000000',
},
}SCSS
$custom: #af2248; $custom-light: #ce6c7a; $custom-dark: #000000;
JSON
{
"hex": "#af2248",
"rgb": {
"r": 175,
"g": 34,
"b": 72
},
"hsl": {
"h": 343.83,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49766,
"c": 0.1757,
"h": 11.6
},
"luminance": 0.10726
}Semantic roles & 50–950 ramp
primary
#AF2248
secondary
#65C8AD
accent
#EABC3D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B