#AB366F#AB366F
#AB366F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.162 H 354.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AB366F |
|---|---|
| RGB | rgb(171, 54, 111) |
| HSL | hsl(331, 52%, 44%) |
| HSV | hsv(331, 68%, 67%) |
| CMYK | cmyk(0%, 68.4%, 35.1%, 32.9%) |
| CIE-LAB | lab(41.92, 52.55, -6.41) |
| CIE-LCH | lch(41.92, 52.94, 353.05°) |
| OKLab | oklab(52.05% 0.1607 -0.0163) |
| OKLCH | oklch(52.05% 0.162 354.2) |
| XYZ | xyz(20.9842, 12.4464, 16.3332) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 5.01
Mediumvioletred
#C71585
ΔE00 6.23
Deep Magenta
#A0025C
ΔE00 6.72
Violet Red
#A50055
ΔE00 6.98
Dark Fuchsia
#9D0759
ΔE00 7.04
Deep Pink
#CB0162
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB366F #36AB72
analogous
#AB36AA #AB366F #AB3736
triadic
#AB366F #6FAB36 #366FAB
tetradic
#AB366F #AAAB36 #36AB72 #3736AB
square
#AB366F #AAAB36 #36AB72 #3736AB
split-complementary
#AB366F #36AB37 #36AAAB
monochromatic
#4E1933 #7C2751 #AB366F #C9558E #D883AD
Accessibility & contrast
On white
6.02
#AB366F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#AB366F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB366F
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB366F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB366F | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#6A6B6C
Tritanopia (blue-blind)
#B82D4E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ab366f; /* rgb */ color: rgb(171, 54, 111); /* oklch */ color: oklch(52.1% 0.162 354.2);
Tailwind
colors: {
custom: {
50: '#c87598',
500: '#ab366f',
950: '#000000',
},
}SCSS
$custom: #ab366f; $custom-light: #c87598; $custom-dark: #000000;
JSON
{
"hex": "#ab366f",
"rgb": {
"r": 171,
"g": 54,
"b": 111
},
"hsl": {
"h": 330.769,
"s": 52,
"l": 44.118
},
"oklch": {
"l": 0.52052,
"c": 0.16155,
"h": 354.2
},
"luminance": 0.12444
}Semantic roles & 50–950 ramp
primary
#AB366F
secondary
#7BC29F
accent
#DB964C
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E