Nearest named color · #AB57A5
#AB57A5
Nearest named color: Magenta Memoir
#AB57A5 (rgb(171 87 165), hsl(304 33% 51%), oklch(0.585 0.148 330)) is closest to the named color Magenta Memoir. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#AB57A5
oklch(0.585 0.148 330)
Color conversions
- HEX
- #ab57a5
- RGB
- rgb(171 87 165)
- HSL
- hsl(304 33% 51%)
- HWB
- hwb(304 34% 33%)
- OKLCH
- oklch(0.585 0.148 330)
- OKLab
- oklab(0.585 0.128 -0.074)
- CIE Lab
- lab(49.71 43.13 -26.81)
- LCH
- lch(49.71 50.78 328.1)
- CMYK
- cmyk(0% 49% 4% 33%)
Tints · Shades · Tones
Tints
- B468AE
- BD79B7
- C68AC0
- CF9AC9
- D7ABD2
- DFBBDB
- E8CCE4
- F0DDED
- F7EEF6
Shades
- 944B8F
- 7E3E79
- 683365
- 542751
- 401C3D
- 2D122B
- 1B081A
- 0B030A
- 010001
Tones
- A75CA2
- A3619E
- A0669A
- 9C6A97
- 976E93
- 93728F
- 8F768C
- 8A7988
- 857D84
Color harmonies
Complementary +180°
- AB57A5
Magenta Memoir
- 229349
≈ Paperboy’s Lawn
Analogous -30° +30°
- AB57A5
Magenta Memoir
- 8A64C5
≈ Lavish Spending
- BF5078
≈ Cockscomb Red
Triadic +120° +240°
- AB57A5
Magenta Memoir
- 977800
≈ Mesozoic Green
- 008C9D
≈ Coral Coast
Split-complementary +150° +210°
- AB57A5
Magenta Memoir
- 728700
≈ Swamp Green
- 00907E
≈ Philips Green
Tetradic +90° +180° +270°
- AB57A5
Magenta Memoir
- B56400
≈ Umber
- 229349
≈ Paperboy’s Lawn
- 0084C3
≈ Water Raceway
Contrast & accessibility
Ag
AAOn white
WCAG 4.52:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.63:1 · APCA Lc 31
Best text color: #000000
WCAG 4.63:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--magenta-memoir: #ab57a5;
--magenta-memoir-rgb: 171 87 165;
--magenta-memoir-oklch: oklch(0.585 0.148 330);
}
.element {
color: var(--magenta-memoir);
background-color: hsl(304 33% 51%);
border-color: oklch(0.585 0.148 330);
}Tailwind CSS v4
@theme {
--color-magenta-memoir: #ab57a5;
--color-magenta-memoir-50: #ffe6ff;
--color-magenta-memoir-100: #ffd6fe;
--color-magenta-memoir-200: #fabdf1;
--color-magenta-memoir-300: #e49bd9;
--color-magenta-memoir-400: #cf7cc8;
--color-magenta-memoir-500: #bb5cb4;
--color-magenta-memoir-600: #9e4f98;
--color-magenta-memoir-700: #7f3f7a;
--color-magenta-memoir-800: #5d2d5c;
--color-magenta-memoir-900: #411f40;
--color-magenta-memoir-950: #290e29;
}SCSS
$magenta-memoir: #ab57a5;
$magenta-memoir-rgb: 171, 87, 165;
$magenta-memoir-light: mix(#fff, $magenta-memoir, 20%);
$magenta-memoir-dark: mix(#000, $magenta-memoir, 20%);
.element {
color: $magenta-memoir;
box-shadow: 0 0 0 2px rgba($magenta-memoir, 0.35);
}