#AF2B5F#AF2B5F
#AF2B5F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.172 H 1.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B5F |
|---|---|
| RGB | rgb(175, 43, 95) |
| HSL | hsl(336, 61%, 43%) |
| HSV | hsv(336, 75%, 69%) |
| CMYK | cmyk(0%, 75.4%, 45.7%, 31.4%) |
| CIE-LAB | lab(40.69, 56.05, 1.87) |
| CIE-LCH | lch(40.69, 56.08, 1.91°) |
| OKLab | oklab(51.12% 0.1719 0.0054) |
| OKLCH | oklch(51.12% 0.172 1.8) |
| XYZ | xyz(20.6103, 11.6707, 11.9916) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.84
Light Burgundy
#A8415B
ΔE00 4.86
Violet Red
#A50055
ΔE00 4.89
Purplish Red
#B0054B
ΔE00 4.96
Raspberry (survey)
#B00149
ΔE00 5.43
Deep Magenta
#A0025C
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B5F #2BAF7B
analogous
#AF2BA1 #AF2B5F #AF392B
triadic
#AF2B5F #5FAF2B #2B5FAF
tetradic
#AF2B5F #A1AF2B #2BAF7B #392BAF
square
#AF2B5F #A1AF2B #2BAF7B #392BAF
split-complementary
#AF2B5F #2BAF39 #2BA1AF
monochromatic
#4D132A #7E1F44 #AF2B5F #D1467D #DE779F
Accessibility & contrast
On white
6.30
#AF2B5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF2B5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B5F
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B5F | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495060
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#BE1141
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2b5f; /* rgb */ color: rgb(175, 43, 95); /* oklch */ color: oklch(51.1% 0.172 1.8);
Tailwind
colors: {
custom: {
50: '#cc708c',
500: '#af2b5f',
950: '#000000',
},
}SCSS
$custom: #af2b5f; $custom-light: #cc708c; $custom-dark: #000000;
JSON
{
"hex": "#af2b5f",
"rgb": {
"r": 175,
"g": 43,
"b": 95
},
"hsl": {
"h": 336.364,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.51115,
"c": 0.17196,
"h": 1.8
},
"luminance": 0.11668
}Semantic roles & 50–950 ramp
primary
#AF2B5F
secondary
#70C5A4
accent
#E4A544
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D