#AB275B#AB275B
#AB275B is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.171 H 2.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AB275B |
|---|---|
| RGB | rgb(171, 39, 91) |
| HSL | hsl(336, 63%, 41%) |
| HSV | hsv(336, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 46.8%, 32.9%) |
| CIE-LAB | lab(39.36, 55.84, 2.37) |
| CIE-LCH | lch(39.36, 55.89, 2.43°) |
| OKLab | oklab(49.96% 0.1713 0.0067) |
| OKLCH | oklch(49.96% 0.171 2.2) |
| XYZ | xyz(19.4100, 10.8669, 10.9709) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.89
Purplish Red
#B0054B
ΔE00 4.25
Raspberry (survey)
#B00149
ΔE00 4.73
Berry
#990F4B
ΔE00 5.18
Light Burgundy
#A8415B
ΔE00 5.21
Dark Fuchsia
#9D0759
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB275B #27AB77
analogous
#AB279D #AB275B #AB3527
triadic
#AB275B #5BAB27 #275BAB
tetradic
#AB275B #9DAB27 #27AB77 #3527AB
square
#AB275B #9DAB27 #27AB77 #3527AB
split-complementary
#AB275B #27AB35 #279DAB
monochromatic
#471026 #791C40 #AB275B #D33D78 #DE6E9A
Accessibility & contrast
On white
6.62
#AB275B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB275B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB275B
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB275B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB275B | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#6A6658
Tritanopia (blue-blind)
#BA083E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab275b; /* rgb */ color: rgb(171, 39, 91); /* oklch */ color: oklch(50.0% 0.171 2.2);
Tailwind
colors: {
custom: {
50: '#ca6e89',
500: '#ab275b',
950: '#000000',
},
}SCSS
$custom: #ab275b; $custom-light: #ca6e89; $custom-dark: #000000;
JSON
{
"hex": "#ab275b",
"rgb": {
"r": 171,
"g": 39,
"b": 91
},
"hsl": {
"h": 336.364,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49959,
"c": 0.17139,
"h": 2.2
},
"luminance": 0.10864
}Semantic roles & 50–950 ramp
primary
#AB275B
secondary
#69C5A1
accent
#E6A542
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C