#AB3062#AB3062
#AB3062 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.164 H 0.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3062 |
|---|---|
| RGB | rgb(171, 48, 98) |
| HSL | hsl(336, 56%, 43%) |
| HSV | hsv(336, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 42.7%, 32.9%) |
| CIE-LAB | lab(40.66, 53.44, -0.14) |
| CIE-LCH | lch(40.66, 53.44, 359.85°) |
| OKLab | oklab(50.99% 0.1638 0.0003) |
| OKLCH | oklch(50.99% 0.164 0.1) |
| XYZ | xyz(20.0576, 11.6562, 12.7465) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.03
Violet Red
#A50055
ΔE00 5.09
Deep Pink
#CB0162
ΔE00 5.75
Purplish Red
#B0054B
ΔE00 5.98
Deep Magenta
#A0025C
ΔE00 6.04
Dark Fuchsia
#9D0759
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3062 #30AB79
analogous
#AB309F #AB3062 #AB3C30
triadic
#AB3062 #62AB30 #3062AB
tetradic
#AB3062 #9FAB30 #30AB79 #3C30AB
square
#AB3062 #9FAB30 #30AB79 #3C30AB
split-complementary
#AB3062 #30AB3C #309FAB
monochromatic
#4B152B #7B2347 #AB3062 #CD4C80 #DA7BA2
Accessibility & contrast
On white
6.30
#AB3062 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AB3062 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3062
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3062 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3062 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5163
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#B91F45
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab3062; /* rgb */ color: rgb(171, 48, 98); /* oklch */ color: oklch(51.0% 0.164 0.1);
Tailwind
colors: {
custom: {
50: '#c9728e',
500: '#ab3062',
950: '#000000',
},
}SCSS
$custom: #ab3062; $custom-light: #c9728e; $custom-dark: #000000;
JSON
{
"hex": "#ab3062",
"rgb": {
"r": 171,
"g": 48,
"b": 98
},
"hsl": {
"h": 335.61,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.50991,
"c": 0.16383,
"h": 0.1
},
"luminance": 0.11654
}Semantic roles & 50–950 ramp
primary
#AB3062
secondary
#74C3A3
accent
#DFA248
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D