#AF275A#AF275A
#AF275A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.175 H 3.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AF275A |
|---|---|
| RGB | rgb(175, 39, 90) |
| HSL | hsl(338, 64%, 42%) |
| HSV | hsv(338, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 48.6%, 31.4%) |
| CIE-LAB | lab(40.09, 56.87, 4.17) |
| CIE-LCH | lch(40.09, 57.02, 4.19°) |
| OKLab | oklab(50.63% 0.1742 0.0112) |
| OKLCH | oklch(50.63% 0.175 3.7) |
| XYZ | xyz(20.2519, 11.3060, 10.7867) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.78
Raspberry (survey)
#B00149
ΔE00 4.24
Violet Red
#A50055
ΔE00 4.66
Light Burgundy
#A8415B
ΔE00 4.71
Deep Pink
#CB0162
ΔE00 4.85
Berry
#990F4B
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF275A #27AF7C
analogous
#AF279E #AF275A #AF3827
triadic
#AF275A #5AAF27 #275AAF
tetradic
#AF275A #9EAF27 #27AF7C #3827AF
square
#AF275A #9EAF27 #27AF7C #3827AF
split-complementary
#AF275A #27AF38 #279EAF
monochromatic
#4B1127 #7D1C40 #AF275A #D43F77 #DF719A
Accessibility & contrast
On white
6.44
#AF275A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF275A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF275A
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF275A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF275A | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#6D6857
Tritanopia (blue-blind)
#BF013D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af275a; /* rgb */ color: rgb(175, 39, 90); /* oklch */ color: oklch(50.6% 0.175 3.7);
Tailwind
colors: {
custom: {
50: '#cd6f88',
500: '#af275a',
950: '#000000',
},
}SCSS
$custom: #af275a; $custom-light: #cd6f88; $custom-dark: #000000;
JSON
{
"hex": "#af275a",
"rgb": {
"r": 175,
"g": 39,
"b": 90
},
"hsl": {
"h": 337.5,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50629,
"c": 0.17456,
"h": 3.7
},
"luminance": 0.11303
}Semantic roles & 50–950 ramp
primary
#AF275A
secondary
#6BC6A4
accent
#E7A941
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C