Nearest named color · #B54F96
#B54F96
Nearest named color: Magenta Memoir
#B54F96 (rgb(181 79 150), hsl(318 41% 51%), oklch(0.581 0.156 340.8)) is closest to the named color Magenta Memoir. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#B54F96
oklch(0.581 0.156 340.8)
Color conversions
- HEX
- #b54f96
- RGB
- rgb(181 79 150)
- HSL
- hsl(318 41% 51%)
- HWB
- hwb(318 31% 29%)
- OKLCH
- oklch(0.581 0.156 340.8)
- OKLab
- oklab(0.581 0.148 -0.051)
- CIE Lab
- lab(49.17 48.29 -18.62)
- LCH
- lch(49.17 51.76 338.9)
- CMYK
- cmyk(0% 56% 17% 29%)
Tints · Shades · Tones
Tints
- BE61A0
- C673AB
- CF85B5
- D696BF
- DEA7CA
- E5B9D4
- ECCADF
- F3DCEA
- F9EDF4
Shades
- 9D4482
- 86386E
- 6F2E5B
- 592349
- 441937
- 301026
- 1D0716
- 0C0208
- 020001
Tones
- B15594
- AC5B92
- A76190
- A2668E
- 9D6B8B
- 986F89
- 927487
- 8D7885
- 877C82
Color harmonies
Complementary +180°
- B54F96
Magenta Memoir
- 009160
≈ Emerald Lake
Analogous -30° +30°
- B54F96
Magenta Memoir
- 985BBE
≈ Trunks Hair
- C44B64
≈ Vibrant Red
Triadic +120° +240°
- B54F96
Magenta Memoir
- 8B7C00
≈ Moscow Papyrus
- 0088A7
≈ Caribbean Sea
Split-complementary +150° +210°
- B54F96
Magenta Memoir
- 598C06
≈ Sap Green
- 008D89
≈ Greenish Blue
Tetradic +90° +180° +270°
- B54F96
Magenta Memoir
- A86B00
≈ Butter Fudge
- 009160
≈ Emerald Lake
- 1B7DD3
≈ Soothing Sapphire
Contrast & accessibility
Ag
AAOn white
WCAG 4.64:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.52:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--magenta-memoir: #b54f96;
--magenta-memoir-rgb: 181 79 150;
--magenta-memoir-oklch: oklch(0.581 0.156 340.8);
}
.element {
color: var(--magenta-memoir);
background-color: hsl(318 41% 51%);
border-color: oklch(0.581 0.156 340.8);
}Tailwind CSS v4
@theme {
--color-magenta-memoir: #b54f96;
--color-magenta-memoir-50: #ffe4ff;
--color-magenta-memoir-100: #ffd4f6;
--color-magenta-memoir-200: #ffbae6;
--color-magenta-memoir-300: #ef96cd;
--color-magenta-memoir-400: #db76ba;
--color-magenta-memoir-500: #c755a5;
--color-magenta-memoir-600: #a8498b;
--color-magenta-memoir-700: #873a70;
--color-magenta-memoir-800: #642954;
--color-magenta-memoir-900: #461c3b;
--color-magenta-memoir-950: #2d0b25;
}SCSS
$magenta-memoir: #b54f96;
$magenta-memoir-rgb: 181, 79, 150;
$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);
}