#AB275F#AB275F
#AB275F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.173 H 0.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AB275F |
|---|---|
| RGB | rgb(171, 39, 95) |
| HSL | hsl(335, 63%, 41%) |
| HSV | hsv(335, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 44.4%, 32.9%) |
| CIE-LAB | lab(39.48, 56.22, 0.01) |
| CIE-LCH | lch(39.48, 56.22, 0.01°) |
| OKLab | oklab(50.09% 0.1727 0.0007) |
| OKLCH | oklch(50.09% 0.173 0.2) |
| XYZ | xyz(19.5872, 10.9378, 11.9040) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.81
Deep Magenta
#A0025C
ΔE00 4.96
Dark Fuchsia
#9D0759
ΔE00 5.03
Purplish Red
#B0054B
ΔE00 5.22
Berry
#990F4B
ΔE00 5.50
Raspberry (survey)
#B00149
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB275F #27AB73
analogous
#AB27A1 #AB275F #AB3127
triadic
#AB275F #5FAB27 #275FAB
tetradic
#AB275F #A1AB27 #27AB73 #3127AB
square
#AB275F #A1AB27 #27AB73 #3127AB
split-complementary
#AB275F #27AB31 #27A1AB
monochromatic
#471028 #791C43 #AB275F #D33D7C #DE6E9E
Accessibility & contrast
On white
6.59
#AB275F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AB275F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB275F
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB275F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB275F | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#69665C
Tritanopia (blue-blind)
#BA0C40
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab275f; /* rgb */ color: rgb(171, 39, 95); /* oklch */ color: oklch(50.1% 0.173 0.2);
Tailwind
colors: {
custom: {
50: '#c96e8c',
500: '#ab275f',
950: '#000000',
},
}SCSS
$custom: #ab275f; $custom-light: #c96e8c; $custom-dark: #000000;
JSON
{
"hex": "#ab275f",
"rgb": {
"r": 171,
"g": 39,
"b": 95
},
"hsl": {
"h": 334.545,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.50086,
"c": 0.17265,
"h": 0.2
},
"luminance": 0.10935
}Semantic roles & 50–950 ramp
primary
#AB275F
secondary
#69C59E
accent
#E6A042
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D