#AF295C#AF295C
#AF295C is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.173 H 3.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AF295C |
|---|---|
| RGB | rgb(175, 41, 92) |
| HSL | hsl(337, 62%, 42%) |
| HSV | hsv(337, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 47.4%, 31.4%) |
| CIE-LAB | lab(40.37, 56.42, 3.30) |
| CIE-LCH | lch(40.37, 56.52, 3.35°) |
| OKLab | oklab(50.85% 0.1729 0.0091) |
| OKLCH | oklch(50.85% 0.173 3) |
| XYZ | xyz(20.4056, 11.4753, 11.2636) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.26
Light Burgundy
#A8415B
ΔE00 4.68
Raspberry (survey)
#B00149
ΔE00 4.72
Violet Red
#A50055
ΔE00 4.76
Deep Pink
#CB0162
ΔE00 4.81
Berry
#990F4B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF295C #29AF7C
analogous
#AF299F #AF295C #AF3929
triadic
#AF295C #5CAF29 #295CAF
tetradic
#AF295C #9FAF29 #29AF7C #3929AF
square
#AF295C #9FAF29 #29AF7C #3929AF
split-complementary
#AF295C #29AF39 #299FAF
monochromatic
#4C1228 #7D1D42 #AF295C #D34279 #DE749C
Accessibility & contrast
On white
6.37
#AF295C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF295C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF295C
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF295C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF295C | 1.00 | 6.37 | 3.29 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494E5D
Deuteranopia (green-blind)
#6D6959
Tritanopia (blue-blind)
#BE093F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af295c; /* rgb */ color: rgb(175, 41, 92); /* oklch */ color: oklch(50.9% 0.173 3.0);
Tailwind
colors: {
custom: {
50: '#cd7089',
500: '#af295c',
950: '#000000',
},
}SCSS
$custom: #af295c; $custom-light: #cd7089; $custom-dark: #000000;
JSON
{
"hex": "#af295c",
"rgb": {
"r": 175,
"g": 41,
"b": 92
},
"hsl": {
"h": 337.164,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50852,
"c": 0.17314,
"h": 3
},
"luminance": 0.11473
}Semantic roles & 50–950 ramp
primary
#AF295C
secondary
#6EC6A4
accent
#E5A743
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C