#AB275A#AB275A
#AB275A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.171 H 2.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AB275A |
|---|---|
| RGB | rgb(171, 39, 90) |
| HSL | hsl(337, 63%, 41%) |
| HSV | hsv(337, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 47.4%, 32.9%) |
| CIE-LAB | lab(39.33, 55.75, 2.97) |
| CIE-LCH | lch(39.33, 55.83, 3.05°) |
| OKLab | oklab(49.93% 0.1709 0.0082) |
| OKLCH | oklch(49.93% 0.171 2.7) |
| XYZ | xyz(19.3672, 10.8498, 10.7453) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.97
Purplish Red
#B0054B
ΔE00 4.02
Raspberry (survey)
#B00149
ΔE00 4.49
Light Burgundy
#A8415B
ΔE00 5.07
Berry
#990F4B
ΔE00 5.14
Deep Pink
#CB0162
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB275A #27AB78
analogous
#AB279C #AB275A #AB3627
triadic
#AB275A #5AAB27 #275AAB
tetradic
#AB275A #9CAB27 #27AB78 #3627AB
square
#AB275A #9CAB27 #27AB78 #3627AB
split-complementary
#AB275A #27AB36 #279CAB
monochromatic
#471026 #791C40 #AB275A #D33D77 #DE6E9A
Accessibility & contrast
On white
6.63
#AB275A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB275A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB275A
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB275A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB275A | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474C5B
Deuteranopia (green-blind)
#6A6657
Tritanopia (blue-blind)
#BA073D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab275a; /* rgb */ color: rgb(171, 39, 90); /* oklch */ color: oklch(49.9% 0.171 2.7);
Tailwind
colors: {
custom: {
50: '#ca6e88',
500: '#ab275a',
950: '#000000',
},
}SCSS
$custom: #ab275a; $custom-light: #ca6e88; $custom-dark: #000000;
JSON
{
"hex": "#ab275a",
"rgb": {
"r": 171,
"g": 39,
"b": 90
},
"hsl": {
"h": 336.818,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49928,
"c": 0.17111,
"h": 2.7
},
"luminance": 0.10847
}Semantic roles & 50–950 ramp
primary
#AB275A
secondary
#69C5A1
accent
#E6A742
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C