#AF275E#AF275E
#AF275E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.176 H 1.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AF275E |
|---|---|
| RGB | rgb(175, 39, 94) |
| HSL | hsl(336, 64%, 42%) |
| HSV | hsv(336, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 46.3%, 31.4%) |
| CIE-LAB | lab(40.21, 57.23, 1.80) |
| CIE-LCH | lch(40.21, 57.25, 1.81°) |
| OKLab | oklab(50.75% 0.1756 0.0053) |
| OKLCH | oklch(50.75% 0.176 1.7) |
| XYZ | xyz(20.4268, 11.3759, 11.7076) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.39
Purplish Red
#B0054B
ΔE00 4.67
Deep Pink
#CB0162
ΔE00 4.86
Raspberry (survey)
#B00149
ΔE00 5.15
Light Burgundy
#A8415B
ΔE00 5.28
Deep Magenta
#A0025C
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF275E #27AF78
analogous
#AF27A2 #AF275E #AF3427
triadic
#AF275E #5EAF27 #275EAF
tetradic
#AF275E #A2AF27 #27AF78 #3427AF
square
#AF275E #A2AF27 #27AF78 #3427AF
split-complementary
#AF275E #27AF34 #27A2AF
monochromatic
#4B1128 #7D1C43 #AF275E #D43F7B #DF719E
Accessibility & contrast
On white
6.41
#AF275E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF275E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF275E
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF275E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF275E | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474E5F
Deuteranopia (green-blind)
#6C685B
Tritanopia (blue-blind)
#BE063F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af275e; /* rgb */ color: rgb(175, 39, 94); /* oklch */ color: oklch(50.8% 0.176 1.7);
Tailwind
colors: {
custom: {
50: '#cd6f8b',
500: '#af275e',
950: '#000000',
},
}SCSS
$custom: #af275e; $custom-light: #cd6f8b; $custom-dark: #000000;
JSON
{
"hex": "#af275e",
"rgb": {
"r": 175,
"g": 39,
"b": 94
},
"hsl": {
"h": 335.735,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50752,
"c": 0.1757,
"h": 1.7
},
"luminance": 0.11373
}Semantic roles & 50–950 ramp
primary
#AF275E
secondary
#6BC6A2
accent
#E7A441
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D