#AF2F69#AF2F69
#AF2F69 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.171 H 357.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F69 |
|---|---|
| RGB | rgb(175, 47, 105) |
| HSL | hsl(333, 58%, 44%) |
| HSV | hsv(333, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 40%, 31.4%) |
| CIE-LAB | lab(41.48, 55.67, -3.24) |
| CIE-LCH | lch(41.48, 55.77, 356.67°) |
| OKLab | oklab(51.8% 0.1709 -0.0078) |
| OKLCH | oklch(51.8% 0.171 357.4) |
| XYZ | xyz(21.2470, 12.1695, 14.5920) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.89
Deep Pink
#CB0162
ΔE00 5.71
Violet Red
#A50055
ΔE00 5.77
Deep Magenta
#A0025C
ΔE00 6.13
Light Burgundy
#A8415B
ΔE00 6.36
Dark Fuchsia
#9D0759
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F69 #2FAF75
analogous
#AF2FA9 #AF2F69 #AF352F
triadic
#AF2F69 #69AF2F #2F69AF
tetradic
#AF2F69 #A9AF2F #2FAF75 #352FAF
square
#AF2F69 #A9AF2F #2FAF75 #352FAF
split-complementary
#AF2F69 #2FAF35 #2FA9AF
monochromatic
#4F152F #7F224C #AF2F69 #CF4C87 #DC7CA8
Accessibility & contrast
On white
6.12
#AF2F69 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#AF2F69 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F69
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F69 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F69 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49536B
Deuteranopia (green-blind)
#6C6B66
Tritanopia (blue-blind)
#BD1F48
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af2f69; /* rgb */ color: rgb(175, 47, 105); /* oklch */ color: oklch(51.8% 0.171 357.4);
Tailwind
colors: {
custom: {
50: '#cc7393',
500: '#af2f69',
950: '#000000',
},
}SCSS
$custom: #af2f69; $custom-light: #cc7393; $custom-dark: #000000;
JSON
{
"hex": "#af2f69",
"rgb": {
"r": 175,
"g": 47,
"b": 105
},
"hsl": {
"h": 332.813,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51802,
"c": 0.17103,
"h": 357.4
},
"luminance": 0.12167
}Semantic roles & 50–950 ramp
primary
#AF2F69
secondary
#75C4A1
accent
#E19B47
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E