Nearest named color · #B151AE
#B151AE
Nearest named color: Magenta Memoir
#B151AE (rgb(177 81 174), hsl(302 38% 51%), oklch(0.589 0.17 328.7)) is closest to the named color Magenta Memoir. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#B151AE
oklch(0.589 0.17 328.7)
Color conversions
- HEX
- #b151ae
- RGB
- rgb(177 81 174)
- HSL
- hsl(302 38% 51%)
- HWB
- hwb(302 32% 31%)
- OKLCH
- oklch(0.589 0.17 328.7)
- OKLab
- oklab(0.589 0.145 -0.088)
- CIE Lab
- lab(49.79 49.06 -31.86)
- LCH
- lch(49.79 58.5 327)
- CMYK
- cmyk(0% 54% 2% 31%)
Tints · Shades · Tones
Tints
- BA63B6
- C275BF
- CB87C7
- D398CF
- DBA9D7
- E2BADF
- EACBE7
- F1DCEF
- F8EEF7
Shades
- 994597
- 833A80
- 6C2F6A
- 572455
- 421A41
- 2F102E
- 1C071C
- 0C020B
- 010001
Tones
- AD57AA
- A85DA5
- A463A1
- 9F679C
- 9B6C98
- 967193
- 91758F
- 8B798A
- 867C85
Color harmonies
Complementary +180°
- B151AE
Magenta Memoir
- 00973E
≈ Green Revolution
Analogous -30° +30°
- B151AE
Magenta Memoir
- 8C61D2
≈ Amethyst
- C8477B
≈ Fuchsia Rose
Triadic +120° +240°
- B151AE
Magenta Memoir
- 9A7800
≈ Mesozoic Green
- 008D9D
≈ Coral Coast
Split-complementary +150° +210°
- B151AE
Magenta Memoir
- 758700
≈ Swamp Green
- 00917E
≈ Miami Jade
Tetradic +90° +180° +270°
- B151AE
Magenta Memoir
- B86400
≈ Camel Fur
- 00973E
≈ Green Revolution
- 0086C2
≈ Azul Caribe
Contrast & accessibility
Ag
AAOn white
WCAG 4.50:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 31
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--magenta-memoir: #b151ae;
--magenta-memoir-rgb: 177 81 174;
--magenta-memoir-oklch: oklch(0.589 0.17 328.7);
}
.element {
color: var(--magenta-memoir);
background-color: hsl(302 38% 51%);
border-color: oklch(0.589 0.17 328.7);
}Tailwind CSS v4
@theme {
--color-magenta-memoir: #b151ae;
--color-magenta-memoir-50: #ffe4ff;
--color-magenta-memoir-100: #ffd4ff;
--color-magenta-memoir-200: #febaf6;
--color-magenta-memoir-300: #e996e0;
--color-magenta-memoir-400: #d376cf;
--color-magenta-memoir-500: #c054bd;
--color-magenta-memoir-600: #a2489f;
--color-magenta-memoir-700: #823980;
--color-magenta-memoir-800: #5f2961;
--color-magenta-memoir-900: #431c44;
--color-magenta-memoir-950: #2b0b2c;
}SCSS
$magenta-memoir: #b151ae;
$magenta-memoir-rgb: 177, 81, 174;
$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);
}