#AB336E#AB336E
#AB336E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.7% C 0.165 H 354.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AB336E |
|---|---|
| RGB | rgb(171, 51, 110) |
| HSL | hsl(331, 54%, 44%) |
| HSV | hsv(331, 70%, 67%) |
| CMYK | cmyk(0%, 70.2%, 35.7%, 32.9%) |
| CIE-LAB | lab(41.46, 53.61, -6.47) |
| CIE-LCH | lch(41.46, 54.00, 353.12°) |
| OKLab | oklab(51.7% 0.1641 -0.0164) |
| OKLCH | oklch(51.7% 0.165 354.3) |
| XYZ | xyz(20.7941, 12.1538, 15.9997) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.78
Mediumvioletred
#C71585
ΔE00 6.19
Deep Magenta
#A0025C
ΔE00 6.24
Violet Red
#A50055
ΔE00 6.54
Dark Fuchsia
#9D0759
ΔE00 6.57
Red Violet
#9E0168
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB336E #33AB70
analogous
#AB33AA #AB336E #AB3433
triadic
#AB336E #6EAB33 #336EAB
tetradic
#AB336E #AAAB33 #33AB70 #3433AB
square
#AB336E #AAAB33 #33AB70 #3433AB
split-complementary
#AB336E #33AB34 #33AAAB
monochromatic
#4D1731 #7C2550 #AB336E #CB508D #D97FAB
Accessibility & contrast
On white
6.12
#AB336E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#AB336E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB336E
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB336E | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485470
Deuteranopia (green-blind)
#696A6B
Tritanopia (blue-blind)
#B8294C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ab336e; /* rgb */ color: rgb(171, 51, 110); /* oklch */ color: oklch(51.7% 0.165 354.3);
Tailwind
colors: {
custom: {
50: '#c87497',
500: '#ab336e',
950: '#000000',
},
}SCSS
$custom: #ab336e; $custom-light: #c87497; $custom-dark: #000000;
JSON
{
"hex": "#ab336e",
"rgb": {
"r": 171,
"g": 51,
"b": 110
},
"hsl": {
"h": 330.5,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.51704,
"c": 0.16494,
"h": 354.3
},
"luminance": 0.12151
}Semantic roles & 50–950 ramp
primary
#AB336E
secondary
#78C29E
accent
#DD954A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E