#AB274A#AB274A
#AB274A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.168 H 10.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AB274A |
|---|---|
| RGB | rgb(171, 39, 74) |
| HSL | hsl(344, 63%, 41%) |
| HSV | hsv(344, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 56.7%, 32.9%) |
| CIE-LAB | lab(38.91, 54.43, 12.55) |
| CIE-LCH | lch(38.91, 55.86, 12.99°) |
| OKLab | oklab(49.48% 0.1649 0.0315) |
| OKLCH | oklch(49.48% 0.168 10.8) |
| XYZ | xyz(18.7580, 10.6061, 7.5367) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.96
Purplish Red
#B0054B
ΔE00 3.05
Rouge
#AB1239
ΔE00 4.23
Cranberry
#9E003A
ΔE00 5.00
Light Burgundy
#A8415B
ΔE00 5.01
Rose Red
#BE013C
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB274A #27AB88
analogous
#AB278C #AB274A #AB4627
triadic
#AB274A #4AAB27 #274AAB
tetradic
#AB274A #8CAB27 #27AB88 #4627AB
square
#AB274A #8CAB27 #27AB88 #4627AB
split-complementary
#AB274A #27AB46 #278CAB
monochromatic
#47101F #791C34 #AB274A #D33D64 #DE6E8C
Accessibility & contrast
On white
6.73
#AB274A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AB274A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB274A
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB274A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB274A | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4A4B
Deuteranopia (green-blind)
#6C6547
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab274a; /* rgb */ color: rgb(171, 39, 74); /* oklch */ color: oklch(49.5% 0.168 10.8);
Tailwind
colors: {
custom: {
50: '#cb6e7c',
500: '#ab274a',
950: '#000000',
},
}SCSS
$custom: #ab274a; $custom-light: #cb6e7c; $custom-dark: #000000;
JSON
{
"hex": "#ab274a",
"rgb": {
"r": 171,
"g": 39,
"b": 74
},
"hsl": {
"h": 344.091,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49484,
"c": 0.16786,
"h": 10.8
},
"luminance": 0.10603
}Semantic roles & 50–950 ramp
primary
#AB274A
secondary
#69C5AC
accent
#E6BA42
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B