#AF2F68#AF2F68
#AF2F68 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.171 H 357.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F68 |
|---|---|
| RGB | rgb(175, 47, 104) |
| HSL | hsl(333, 58%, 44%) |
| HSV | hsv(333, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 40.6%, 31.4%) |
| CIE-LAB | lab(41.45, 55.57, -2.66) |
| CIE-LCH | lch(41.45, 55.63, 357.26°) |
| OKLab | oklab(51.77% 0.1705 -0.0063) |
| OKLCH | oklch(51.77% 0.171 357.9) |
| XYZ | xyz(21.1959, 12.1491, 14.3229) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 5.07
Deep Pink
#CB0162
ΔE00 5.57
Violet Red
#A50055
ΔE00 5.68
Light Burgundy
#A8415B
ΔE00 6.13
Deep Magenta
#A0025C
ΔE00 6.16
Dark Fuchsia
#9D0759
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F68 #2FAF76
analogous
#AF2FA8 #AF2F68 #AF362F
triadic
#AF2F68 #68AF2F #2F68AF
tetradic
#AF2F68 #A8AF2F #2FAF76 #362FAF
square
#AF2F68 #A8AF2F #2FAF76 #362FAF
split-complementary
#AF2F68 #2FAF36 #2FA8AF
monochromatic
#4F152F #7F224B #AF2F68 #CF4C86 #DC7CA7
Accessibility & contrast
On white
6.12
#AF2F68 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#AF2F68 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F68
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F68 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F68 | 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)
#495269
Deuteranopia (green-blind)
#6C6B65
Tritanopia (blue-blind)
#BD1E47
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af2f68; /* rgb */ color: rgb(175, 47, 104); /* oklch */ color: oklch(51.8% 0.171 357.9);
Tailwind
colors: {
custom: {
50: '#cc7293',
500: '#af2f68',
950: '#000000',
},
}SCSS
$custom: #af2f68; $custom-light: #cc7293; $custom-dark: #000000;
JSON
{
"hex": "#af2f68",
"rgb": {
"r": 175,
"g": 47,
"b": 104
},
"hsl": {
"h": 333.281,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51768,
"c": 0.17065,
"h": 357.9
},
"luminance": 0.12146
}Semantic roles & 50–950 ramp
primary
#AF2F68
secondary
#75C4A1
accent
#E19C47
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E