#AB274B#AB274B
#AB274B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.168 H 10.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AB274B |
|---|---|
| RGB | rgb(171, 39, 75) |
| HSL | hsl(344, 63%, 41%) |
| HSV | hsv(344, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 56.1%, 32.9%) |
| CIE-LAB | lab(38.93, 54.50, 11.95) |
| CIE-LCH | lch(38.93, 55.80, 12.37°) |
| OKLab | oklab(49.51% 0.1653 0.0301) |
| OKLCH | oklch(49.51% 0.168 10.3) |
| XYZ | xyz(18.7919, 10.6197, 7.7155) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.84
Purplish Red
#B0054B
ΔE00 2.87
Rouge
#AB1239
ΔE00 4.51
Light Burgundy
#A8415B
ΔE00 4.88
Cranberry
#9E003A
ΔE00 5.07
Rose Red
#BE013C
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB274B #27AB87
analogous
#AB278D #AB274B #AB4527
triadic
#AB274B #4BAB27 #274BAB
tetradic
#AB274B #8DAB27 #27AB87 #4527AB
square
#AB274B #8DAB27 #27AB87 #4527AB
split-complementary
#AB274B #27AB45 #278DAB
monochromatic
#47101F #791C35 #AB274B #D33D65 #DE6E8D
Accessibility & contrast
On white
6.72
#AB274B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AB274B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB274B
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB274B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB274B | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4B4C
Deuteranopia (green-blind)
#6C6548
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab274b; /* rgb */ color: rgb(171, 39, 75); /* oklch */ color: oklch(49.5% 0.168 10.3);
Tailwind
colors: {
custom: {
50: '#ca6e7d',
500: '#ab274b',
950: '#000000',
},
}SCSS
$custom: #ab274b; $custom-light: #ca6e7d; $custom-dark: #000000;
JSON
{
"hex": "#ab274b",
"rgb": {
"r": 171,
"g": 39,
"b": 75
},
"hsl": {
"h": 343.636,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49509,
"c": 0.16798,
"h": 10.3
},
"luminance": 0.10617
}Semantic roles & 50–950 ramp
primary
#AB274B
secondary
#69C5AC
accent
#E6B942
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B