#AF2F63#AF2F63
#AF2F63 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.169 H 0.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F63 |
|---|---|
| RGB | rgb(175, 47, 99) |
| HSL | hsl(336, 58%, 44%) |
| HSV | hsv(336, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 43.4%, 31.4%) |
| CIE-LAB | lab(41.30, 55.06, 0.24) |
| CIE-LCH | lch(41.30, 55.06, 0.25°) |
| OKLab | oklab(51.6% 0.1689 0.0013) |
| OKLCH | oklch(51.6% 0.169 0.4) |
| XYZ | xyz(20.9494, 12.0505, 13.0248) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.02
Deep Pink
#CB0162
ΔE00 5.05
Violet Red
#A50055
ΔE00 5.43
Purplish Red
#B0054B
ΔE00 5.95
Magenta (survey)
#C20078
ΔE00 6.11
Raspberry (survey)
#B00149
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F63 #2FAF7B
analogous
#AF2FA3 #AF2F63 #AF3B2F
triadic
#AF2F63 #63AF2F #2F63AF
tetradic
#AF2F63 #A3AF2F #2FAF7B #3B2FAF
square
#AF2F63 #A3AF2F #2FAF7B #3B2FAF
split-complementary
#AF2F63 #2FAF3B #2FA3AF
monochromatic
#4F152C #7F2248 #AF2F63 #CF4C81 #DC7CA3
Accessibility & contrast
On white
6.16
#AF2F63 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#AF2F63 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F63
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F63 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5264
Deuteranopia (green-blind)
#6D6A60
Tritanopia (blue-blind)
#BE1B45
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2f63; /* rgb */ color: rgb(175, 47, 99); /* oklch */ color: oklch(51.6% 0.169 0.4);
Tailwind
colors: {
custom: {
50: '#cc728f',
500: '#af2f63',
950: '#000000',
},
}SCSS
$custom: #af2f63; $custom-light: #cc728f; $custom-dark: #000000;
JSON
{
"hex": "#af2f63",
"rgb": {
"r": 175,
"g": 47,
"b": 99
},
"hsl": {
"h": 335.625,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51602,
"c": 0.16887,
"h": 0.4
},
"luminance": 0.12048
}Semantic roles & 50–950 ramp
primary
#AF2F63
secondary
#75C4A4
accent
#E1A247
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D