#AF2F6D#AF2F6D
#AF2F6D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.173 H 355.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F6D |
|---|---|
| RGB | rgb(175, 47, 109) |
| HSL | hsl(331, 58%, 44%) |
| HSV | hsv(331, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 37.7%, 31.4%) |
| CIE-LAB | lab(41.62, 56.10, -5.54) |
| CIE-LCH | lch(41.62, 56.38, 354.36°) |
| OKLab | oklab(51.94% 0.1721 -0.0139) |
| OKLCH | oklch(51.94% 0.173 355.4) |
| XYZ | xyz(21.4574, 12.2537, 15.7003) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.26
Mediumvioletred
#C71585
ΔE00 5.90
Deep Magenta
#A0025C
ΔE00 6.15
Violet Red
#A50055
ΔE00 6.22
Deep Pink
#CB0162
ΔE00 6.31
Dark Fuchsia
#9D0759
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F6D #2FAF71
analogous
#AF2FAD #AF2F6D #AF312F
triadic
#AF2F6D #6DAF2F #2F6DAF
tetradic
#AF2F6D #ADAF2F #2FAF71 #312FAF
square
#AF2F6D #ADAF2F #2FAF71 #312FAF
split-complementary
#AF2F6D #2FAF31 #2FADAF
monochromatic
#4F1531 #7F224F #AF2F6D #CF4C8C #DC7CAB
Accessibility & contrast
On white
6.09
#AF2F6D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#AF2F6D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F6D
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F6D | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47536F
Deuteranopia (green-blind)
#6B6B6A
Tritanopia (blue-blind)
#BD214A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af2f6d; /* rgb */ color: rgb(175, 47, 109); /* oklch */ color: oklch(51.9% 0.173 355.4);
Tailwind
colors: {
custom: {
50: '#cc7396',
500: '#af2f6d',
950: '#000000',
},
}SCSS
$custom: #af2f6d; $custom-light: #cc7396; $custom-dark: #000000;
JSON
{
"hex": "#af2f6d",
"rgb": {
"r": 175,
"g": 47,
"b": 109
},
"hsl": {
"h": 330.938,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51942,
"c": 0.17266,
"h": 355.4
},
"luminance": 0.12251
}Semantic roles & 50–950 ramp
primary
#AF2F6D
secondary
#75C49E
accent
#E19647
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E