#AF275B#AF275B
#AF275B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.175 H 3.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF275B |
|---|---|
| RGB | rgb(175, 39, 91) |
| HSL | hsl(337, 64%, 42%) |
| HSV | hsv(337, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 48%, 31.4%) |
| CIE-LAB | lab(40.12, 56.96, 3.57) |
| CIE-LCH | lch(40.12, 57.07, 3.59°) |
| OKLab | oklab(50.66% 0.1746 0.0098) |
| OKLCH | oklch(50.66% 0.175 3.2) |
| XYZ | xyz(20.2948, 11.3231, 11.0124) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.99
Raspberry (survey)
#B00149
ΔE00 4.46
Violet Red
#A50055
ΔE00 4.56
Deep Pink
#CB0162
ΔE00 4.83
Light Burgundy
#A8415B
ΔE00 4.84
Berry
#990F4B
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF275B #27AF7B
analogous
#AF279F #AF275B #AF3727
triadic
#AF275B #5BAF27 #275BAF
tetradic
#AF275B #9FAF27 #27AF7B #3727AF
square
#AF275B #9FAF27 #27AF7B #3727AF
split-complementary
#AF275B #27AF37 #279FAF
monochromatic
#4B1127 #7D1C41 #AF275B #D43F78 #DF719B
Accessibility & contrast
On white
6.43
#AF275B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF275B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF275B
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF275B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF275B | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484E5C
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#BF023E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af275b; /* rgb */ color: rgb(175, 39, 91); /* oklch */ color: oklch(50.7% 0.175 3.2);
Tailwind
colors: {
custom: {
50: '#cd6f89',
500: '#af275b',
950: '#000000',
},
}SCSS
$custom: #af275b; $custom-light: #cd6f89; $custom-dark: #000000;
JSON
{
"hex": "#af275b",
"rgb": {
"r": 175,
"g": 39,
"b": 91
},
"hsl": {
"h": 337.059,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50659,
"c": 0.17483,
"h": 3.2
},
"luminance": 0.1132
}Semantic roles & 50–950 ramp
primary
#AF275B
secondary
#6BC6A4
accent
#E7A741
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C