#AB336F#AB336F
#AB336F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.7% C 0.165 H 353.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AB336F |
|---|---|
| RGB | rgb(171, 51, 111) |
| HSL | hsl(330, 54%, 44%) |
| HSV | hsv(330, 70%, 67%) |
| CMYK | cmyk(0%, 70.2%, 35.1%, 32.9%) |
| CIE-LAB | lab(41.49, 53.73, -7.04) |
| CIE-LCH | lch(41.49, 54.19, 352.53°) |
| OKLab | oklab(51.74% 0.1644 -0.0179) |
| OKLCH | oklch(51.74% 0.165 353.8) |
| XYZ | xyz(20.8489, 12.1757, 16.2880) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.69
Mediumvioletred
#C71585
ΔE00 6.04
Deep Magenta
#A0025C
ΔE00 6.29
Dark Fuchsia
#9D0759
ΔE00 6.64
Violet Red
#A50055
ΔE00 6.68
Red Violet
#9E0168
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB336F #33AB6F
analogous
#AB33AB #AB336F #AB3333
triadic
#AB336F #6FAB33 #336FAB
tetradic
#AB336F #ABAB33 #33AB6F #3333AB
square
#AB336F #ABAB33 #33AB6F #3333AB
split-complementary
#AB336F #33AB33 #33ABAB
monochromatic
#4D1732 #7C2550 #AB336F #CB508E #D97FAC
Accessibility & contrast
On white
6.11
#AB336F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#AB336F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB336F
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB336F | 1.00 | 6.11 | 3.43 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485471
Deuteranopia (green-blind)
#696A6C
Tritanopia (blue-blind)
#B8294C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ab336f; /* rgb */ color: rgb(171, 51, 111); /* oklch */ color: oklch(51.7% 0.165 353.8);
Tailwind
colors: {
custom: {
50: '#c87498',
500: '#ab336f',
950: '#000000',
},
}SCSS
$custom: #ab336f; $custom-light: #c87498; $custom-dark: #000000;
JSON
{
"hex": "#ab336f",
"rgb": {
"r": 171,
"g": 51,
"b": 111
},
"hsl": {
"h": 330,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.51741,
"c": 0.1654,
"h": 353.8
},
"luminance": 0.12173
}Semantic roles & 50–950 ramp
primary
#AB336F
secondary
#78C29D
accent
#DD944A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E