#AB274F#AB274F
#AB274F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.169 H 8.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AB274F |
|---|---|
| RGB | rgb(171, 39, 79) |
| HSL | hsl(342, 63%, 41%) |
| HSV | hsv(342, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 53.8%, 32.9%) |
| CIE-LAB | lab(39.03, 54.81, 9.54) |
| CIE-LCH | lch(39.03, 55.64, 9.87°) |
| OKLab | oklab(49.61% 0.1668 0.0244) |
| OKLCH | oklch(49.61% 0.169 8.3) |
| XYZ | xyz(18.9331, 10.6762, 8.4594) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.49
Raspberry (survey)
#B00149
ΔE00 2.67
Light Burgundy
#A8415B
ΔE00 4.51
Cranberry
#9E003A
ΔE00 5.53
Rouge
#AB1239
ΔE00 5.66
Berry
#990F4B
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB274F #27AB83
analogous
#AB2791 #AB274F #AB4127
triadic
#AB274F #4FAB27 #274FAB
tetradic
#AB274F #91AB27 #27AB83 #4127AB
square
#AB274F #91AB27 #27AB83 #4127AB
split-complementary
#AB274F #27AB41 #2791AB
monochromatic
#471021 #791C38 #AB274F #D33D6A #DE6E90
Accessibility & contrast
On white
6.70
#AB274F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AB274F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB274F
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB274F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB274F | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494B50
Deuteranopia (green-blind)
#6C654C
Tritanopia (blue-blind)
#BB0038
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab274f; /* rgb */ color: rgb(171, 39, 79); /* oklch */ color: oklch(49.6% 0.169 8.3);
Tailwind
colors: {
custom: {
50: '#ca6e80',
500: '#ab274f',
950: '#000000',
},
}SCSS
$custom: #ab274f; $custom-light: #ca6e80; $custom-dark: #000000;
JSON
{
"hex": "#ab274f",
"rgb": {
"r": 171,
"g": 39,
"b": 79
},
"hsl": {
"h": 341.818,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49613,
"c": 0.16859,
"h": 8.3
},
"luminance": 0.10673
}Semantic roles & 50–950 ramp
primary
#AB274F
secondary
#69C5A9
accent
#E6B442
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C