#AF275C#AF275C
#AF275C is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.175 H 2.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF275C |
|---|---|
| RGB | rgb(175, 39, 92) |
| HSL | hsl(337, 64%, 42%) |
| HSV | hsv(337, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 47.4%, 31.4%) |
| CIE-LAB | lab(40.15, 57.04, 2.98) |
| CIE-LCH | lch(40.15, 57.12, 2.99°) |
| OKLab | oklab(50.69% 0.1749 0.0083) |
| OKLCH | oklch(50.69% 0.175 2.7) |
| XYZ | xyz(20.3382, 11.3405, 11.2411) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.21
Violet Red
#A50055
ΔE00 4.49
Raspberry (survey)
#B00149
ΔE00 4.69
Deep Pink
#CB0162
ΔE00 4.82
Light Burgundy
#A8415B
ΔE00 4.98
Berry
#990F4B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF275C #27AF7A
analogous
#AF27A0 #AF275C #AF3627
triadic
#AF275C #5CAF27 #275CAF
tetradic
#AF275C #A0AF27 #27AF7A #3627AF
square
#AF275C #A0AF27 #27AF7A #3627AF
split-complementary
#AF275C #27AF36 #27A0AF
monochromatic
#4B1127 #7D1C42 #AF275C #D43F79 #DF719C
Accessibility & contrast
On white
6.43
#AF275C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF275C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF275C
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF275C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF275C | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484E5D
Deuteranopia (green-blind)
#6C6859
Tritanopia (blue-blind)
#BE043E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af275c; /* rgb */ color: rgb(175, 39, 92); /* oklch */ color: oklch(50.7% 0.175 2.7);
Tailwind
colors: {
custom: {
50: '#cd6f89',
500: '#af275c',
950: '#000000',
},
}SCSS
$custom: #af275c; $custom-light: #cd6f89; $custom-dark: #000000;
JSON
{
"hex": "#af275c",
"rgb": {
"r": 175,
"g": 39,
"b": 92
},
"hsl": {
"h": 336.618,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.5069,
"c": 0.1751,
"h": 2.7
},
"luminance": 0.11338
}Semantic roles & 50–950 ramp
primary
#AF275C
secondary
#6BC6A3
accent
#E7A641
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C