#AF295D#AF295D
#AF295D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.173 H 2.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AF295D |
|---|---|
| RGB | rgb(175, 41, 93) |
| HSL | hsl(337, 62%, 42%) |
| HSV | hsv(337, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 46.9%, 31.4%) |
| CIE-LAB | lab(40.40, 56.51, 2.71) |
| CIE-LCH | lch(40.40, 56.58, 2.75°) |
| OKLab | oklab(50.88% 0.1733 0.0076) |
| OKLCH | oklch(50.88% 0.173 2.5) |
| XYZ | xyz(20.4496, 11.4929, 11.4953) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.48
Violet Red
#A50055
ΔE00 4.70
Deep Pink
#CB0162
ΔE00 4.81
Light Burgundy
#A8415B
ΔE00 4.83
Raspberry (survey)
#B00149
ΔE00 4.95
Berry
#990F4B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF295D #29AF7B
analogous
#AF29A0 #AF295D #AF3829
triadic
#AF295D #5DAF29 #295DAF
tetradic
#AF295D #A0AF29 #29AF7B #3829AF
square
#AF295D #A0AF29 #29AF7B #3829AF
split-complementary
#AF295D #29AF38 #29A0AF
monochromatic
#4C1228 #7D1D43 #AF295D #D3427A #DE749D
Accessibility & contrast
On white
6.37
#AF295D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF295D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF295D
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF295D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF295D | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494F5E
Deuteranopia (green-blind)
#6D695A
Tritanopia (blue-blind)
#BE0A40
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af295d; /* rgb */ color: rgb(175, 41, 93); /* oklch */ color: oklch(50.9% 0.173 2.5);
Tailwind
colors: {
custom: {
50: '#cc708a',
500: '#af295d',
950: '#000000',
},
}SCSS
$custom: #af295d; $custom-light: #cc708a; $custom-dark: #000000;
JSON
{
"hex": "#af295d",
"rgb": {
"r": 175,
"g": 41,
"b": 93
},
"hsl": {
"h": 336.716,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50883,
"c": 0.17343,
"h": 2.5
},
"luminance": 0.1149
}Semantic roles & 50–950 ramp
primary
#AF295D
secondary
#6EC6A4
accent
#E5A643
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C