#AF275D#AF275D
#AF275D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.175 H 2.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF275D |
|---|---|
| RGB | rgb(175, 39, 93) |
| HSL | hsl(336, 64%, 42%) |
| HSV | hsv(336, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 46.9%, 31.4%) |
| CIE-LAB | lab(40.18, 57.13, 2.39) |
| CIE-LCH | lch(40.18, 57.18, 2.40°) |
| OKLab | oklab(50.72% 0.1753 0.0068) |
| OKLCH | oklch(50.72% 0.175 2.2) |
| XYZ | xyz(20.3822, 11.3581, 11.4728) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.43
Purplish Red
#B0054B
ΔE00 4.44
Deep Pink
#CB0162
ΔE00 4.83
Raspberry (survey)
#B00149
ΔE00 4.92
Light Burgundy
#A8415B
ΔE00 5.13
Berry
#990F4B
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF275D #27AF79
analogous
#AF27A1 #AF275D #AF3527
triadic
#AF275D #5DAF27 #275DAF
tetradic
#AF275D #A1AF27 #27AF79 #3527AF
square
#AF275D #A1AF27 #27AF79 #3527AF
split-complementary
#AF275D #27AF35 #27A1AF
monochromatic
#4B1128 #7D1C42 #AF275D #D43F7A #DF719D
Accessibility & contrast
On white
6.42
#AF275D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF275D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF275D
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF275D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF275D | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484E5E
Deuteranopia (green-blind)
#6C685A
Tritanopia (blue-blind)
#BE053F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af275d; /* rgb */ color: rgb(175, 39, 93); /* oklch */ color: oklch(50.7% 0.175 2.2);
Tailwind
colors: {
custom: {
50: '#cd6f8a',
500: '#af275d',
950: '#000000',
},
}SCSS
$custom: #af275d; $custom-light: #cd6f8a; $custom-dark: #000000;
JSON
{
"hex": "#af275d",
"rgb": {
"r": 175,
"g": 39,
"b": 93
},
"hsl": {
"h": 336.176,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.5072,
"c": 0.1754,
"h": 2.2
},
"luminance": 0.11355
}Semantic roles & 50–950 ramp
primary
#AF275D
secondary
#6BC6A2
accent
#E7A541
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C