Nearest named color · #B4518F
#B4518F
Nearest named color: Magenta Memoir
#B4518F (rgb(180 81 143), hsl(322 40% 51%), oklch(0.579 0.147 344.2)) is closest to the named color Magenta Memoir. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#B4518F
oklch(0.579 0.147 344.2)
Color conversions
- HEX
- #b4518f
- RGB
- rgb(180 81 143)
- HSL
- hsl(322 40% 51%)
- HWB
- hwb(322 32% 29%)
- OKLCH
- oklch(0.579 0.147 344.2)
- OKLab
- oklab(0.579 0.142 -0.04)
- CIE Lab
- lab(49.15 46.28 -14.51)
- LCH
- lch(49.15 48.5 342.6)
- CMYK
- cmyk(0% 55% 21% 29%)
Tints · Shades · Tones
Tints
- BD639A
- C674A5
- CE86B0
- D697BB
- DDA8C6
- E5B9D1
- ECCADD
- F2DCE8
- F9EDF3
Shades
- 9C457C
- 853A69
- 6E2F57
- 582445
- 441A34
- 301024
- 1D0715
- 0C0207
- 020001
Tones
- B0578E
- AB5D8C
- A7628B
- A26789
- 9D6B88
- 987086
- 927485
- 8C7883
- 867C82
Color harmonies
Complementary +180°
- B4518F
Magenta Memoir
- 009066
≈ Viridian
Analogous -30° +30°
- B4518F
Magenta Memoir
- 995CB6
≈ Trunks Hair
- C14E5F
≈ Popstar
Triadic +120° +240°
- B4518F
Magenta Memoir
- 867D00
≈ Olive
- 0087AA
≈ Tiny Bubbles
Split-complementary +150° +210°
- B4518F
Magenta Memoir
- 538C24
≈ Sap Green
- 008C8B
≈ Marrs Green
Tetradic +90° +180° +270°
- B4518F
Magenta Memoir
- A46D00
≈ Golden Hind
- 009066
≈ Viridian
- 327BCF
≈ Heirloom Hydrangea
Contrast & accessibility
Ag
AAOn white
WCAG 4.65:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.51:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.65:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--magenta-memoir: #b4518f;
--magenta-memoir-rgb: 180 81 143;
--magenta-memoir-oklch: oklch(0.579 0.147 344.2);
}
.element {
color: var(--magenta-memoir);
background-color: hsl(322 40% 51%);
border-color: oklch(0.579 0.147 344.2);
}Tailwind CSS v4
@theme {
--color-magenta-memoir: #b4518f;
--color-magenta-memoir-50: #ffe5fe;
--color-magenta-memoir-100: #ffd5f2;
--color-magenta-memoir-200: #ffbbe1;
--color-magenta-memoir-300: #ee98c7;
--color-magenta-memoir-400: #da78b3;
--color-magenta-memoir-500: #c7589e;
--color-magenta-memoir-600: #a84b85;
--color-magenta-memoir-700: #873c6b;
--color-magenta-memoir-800: #632b50;
--color-magenta-memoir-900: #461d38;
--color-magenta-memoir-950: #2d0c22;
}SCSS
$magenta-memoir: #b4518f;
$magenta-memoir-rgb: 180, 81, 143;
$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);
}