#AB274E#AB274E
#AB274E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.168 H 8.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AB274E |
|---|---|
| RGB | rgb(171, 39, 78) |
| HSL | hsl(342, 63%, 41%) |
| HSV | hsv(342, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 54.4%, 32.9%) |
| CIE-LAB | lab(39.00, 54.73, 10.14) |
| CIE-LCH | lch(39.00, 55.67, 10.50°) |
| OKLab | oklab(49.59% 0.1664 0.0258) |
| OKLCH | oklch(49.59% 0.168 8.8) |
| XYZ | xyz(18.8970, 10.6617, 8.2691) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.53
Raspberry (survey)
#B00149
ΔE00 2.65
Light Burgundy
#A8415B
ΔE00 4.58
Rouge
#AB1239
ΔE00 5.37
Cranberry
#9E003A
ΔE00 5.39
Berry
#990F4B
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB274E #27AB84
analogous
#AB2790 #AB274E #AB4227
triadic
#AB274E #4EAB27 #274EAB
tetradic
#AB274E #90AB27 #27AB84 #4227AB
square
#AB274E #90AB27 #27AB84 #4227AB
split-complementary
#AB274E #27AB42 #2790AB
monochromatic
#471021 #791C37 #AB274E #D33D69 #DE6E8F
Accessibility & contrast
On white
6.71
#AB274E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AB274E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB274E
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB274E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB274E | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4B4F
Deuteranopia (green-blind)
#6C654B
Tritanopia (blue-blind)
#BB0038
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab274e; /* rgb */ color: rgb(171, 39, 78); /* oklch */ color: oklch(49.6% 0.168 8.8);
Tailwind
colors: {
custom: {
50: '#ca6e7f',
500: '#ab274e',
950: '#000000',
},
}SCSS
$custom: #ab274e; $custom-light: #ca6e7f; $custom-dark: #000000;
JSON
{
"hex": "#ab274e",
"rgb": {
"r": 171,
"g": 39,
"b": 78
},
"hsl": {
"h": 342.273,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49586,
"c": 0.16842,
"h": 8.8
},
"luminance": 0.10659
}Semantic roles & 50–950 ramp
primary
#AB274E
secondary
#69C5AA
accent
#E6B542
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C