#AF2E5B#AF2E5B
#AF2E5B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.168 H 4.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E5B |
|---|---|
| RGB | rgb(175, 46, 91) |
| HSL | hsl(339, 58%, 43%) |
| HSV | hsv(339, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 48%, 31.4%) |
| CIE-LAB | lab(40.94, 54.65, 4.75) |
| CIE-LCH | lch(40.94, 54.86, 4.97°) |
| OKLab | oklab(51.26% 0.1672 0.0127) |
| OKLCH | oklch(51.26% 0.168 4.3) |
| XYZ | xyz(20.5462, 11.8260, 11.0962) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.75
Purplish Red
#B0054B
ΔE00 4.33
Raspberry (survey)
#B00149
ΔE00 4.74
Deep Pink
#CB0162
ΔE00 4.92
Violet Red
#A50055
ΔE00 5.63
Light Maroon
#A24857
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E5B #2EAF82
analogous
#AF2E9B #AF2E5B #AF422E
triadic
#AF2E5B #5BAF2E #2E5BAF
tetradic
#AF2E5B #9BAF2E #2EAF82 #422EAF
square
#AF2E5B #9BAF2E #2EAF82 #422EAF
split-complementary
#AF2E5B #2EAF42 #2E9BAF
monochromatic
#4E1529 #7F2142 #AF2E5B #D04B79 #DC7B9D
Accessibility & contrast
On white
6.24
#AF2E5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF2E5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E5B
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E5B | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C505C
Deuteranopia (green-blind)
#6E6A58
Tritanopia (blue-blind)
#BE1541
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e5b; /* rgb */ color: rgb(175, 46, 91); /* oklch */ color: oklch(51.3% 0.168 4.3);
Tailwind
colors: {
custom: {
50: '#cc7289',
500: '#af2e5b',
950: '#000000',
},
}SCSS
$custom: #af2e5b; $custom-light: #cc7289; $custom-dark: #000000;
JSON
{
"hex": "#af2e5b",
"rgb": {
"r": 175,
"g": 46,
"b": 91
},
"hsl": {
"h": 339.07,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51262,
"c": 0.16765,
"h": 4.3
},
"luminance": 0.11823
}Semantic roles & 50–950 ramp
primary
#AF2E5B
secondary
#74C5A9
accent
#E2AB46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C