#AB498F#AB498F
#AB498F is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.6% C 0.153 H 340.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AB498F |
|---|---|
| RGB | rgb(171, 73, 143) |
| HSL | hsl(317, 40%, 48%) |
| HSV | hsv(317, 57%, 67%) |
| CMYK | cmyk(0%, 57.3%, 16.4%, 32.9%) |
| CIE-LAB | lab(46.19, 48.57, -19.48) |
| CIE-LCH | lch(46.19, 52.33, 338.14°) |
| OKLab | oklab(55.6% 0.1436 -0.0523) |
| OKLCH | oklch(55.6% 0.153 340) |
| XYZ | xyz(24.1355, 15.4081, 27.6842) |
| Luminance | 0.1541 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.67
Light Plum
#9D5783
ΔE00 5.26
Ugly Purple
#A442A0
ΔE00 5.30
Purplish
#94568C
ΔE00 5.38
Medium Purple
#9E43A2
ΔE00 6.51
Mediumvioletred
#C71585
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB498F #49AB65
analogous
#9649AB #AB498F #AB495E
triadic
#AB498F #8FAB49 #498FAB
tetradic
#AB498F #AB9649 #49AB65 #495EAB
square
#AB498F #AB9649 #49AB65 #495EAB
split-complementary
#AB498F #5EAB49 #49AB96
monochromatic
#552447 #80376B #AB498F #C26FAA #D49AC4
Accessibility & contrast
On white
5.15
#AB498F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#AB498F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB498F
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB498F | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E6491
Deuteranopia (green-blind)
#6A738C
Tritanopia (blue-blind)
#B44B65
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ab498f; /* rgb */ color: rgb(171, 73, 143); /* oklch */ color: oklch(55.6% 0.153 340.0);
Tailwind
colors: {
custom: {
50: '#c781b0',
500: '#ab498f',
950: '#000000',
},
}SCSS
$custom: #ab498f; $custom-light: #c781b0; $custom-dark: #000000;
JSON
{
"hex": "#ab498f",
"rgb": {
"r": 171,
"g": 73,
"b": 143
},
"hsl": {
"h": 317.143,
"s": 40.164,
"l": 47.843
},
"oklch": {
"l": 0.55599,
"c": 0.1528,
"h": 340
},
"luminance": 0.15406
}Semantic roles & 50–950 ramp
primary
#AB498F
secondary
#8FC09D
accent
#D07A58
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F