#AF295F#AF295F
#AF295F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.174 H 1.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF295F |
|---|---|
| RGB | rgb(175, 41, 95) |
| HSL | hsl(336, 62%, 42%) |
| HSV | hsv(336, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 45.7%, 31.4%) |
| CIE-LAB | lab(40.46, 56.69, 1.54) |
| CIE-LCH | lch(40.46, 56.72, 1.55°) |
| OKLab | oklab(50.94% 0.174 0.0046) |
| OKLCH | oklch(50.94% 0.174 1.5) |
| XYZ | xyz(20.5393, 11.5288, 11.9680) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.62
Deep Pink
#CB0162
ΔE00 4.87
Purplish Red
#B0054B
ΔE00 4.93
Light Burgundy
#A8415B
ΔE00 5.16
Raspberry (survey)
#B00149
ΔE00 5.41
Deep Magenta
#A0025C
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF295F #29AF79
analogous
#AF29A2 #AF295F #AF3629
triadic
#AF295F #5FAF29 #295FAF
tetradic
#AF295F #A2AF29 #29AF79 #3629AF
square
#AF295F #A2AF29 #29AF79 #3629AF
split-complementary
#AF295F #29AF36 #29A2AF
monochromatic
#4C1229 #7D1D44 #AF295F #D3427D #DE749F
Accessibility & contrast
On white
6.35
#AF295F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF295F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF295F
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF295F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF295F | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#6C695C
Tritanopia (blue-blind)
#BE0D41
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af295f; /* rgb */ color: rgb(175, 41, 95); /* oklch */ color: oklch(50.9% 0.174 1.5);
Tailwind
colors: {
custom: {
50: '#cc708c',
500: '#af295f',
950: '#000000',
},
}SCSS
$custom: #af295f; $custom-light: #cc708c; $custom-dark: #000000;
JSON
{
"hex": "#af295f",
"rgb": {
"r": 175,
"g": 41,
"b": 95
},
"hsl": {
"h": 335.821,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50945,
"c": 0.17402,
"h": 1.5
},
"luminance": 0.11526
}Semantic roles & 50–950 ramp
primary
#AF295F
secondary
#6EC6A2
accent
#E5A443
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D