Nearest named color · #BA48B3
#BA48B3
Nearest named color: Mystifying Magenta
#BA48B3 (rgb(186 72 179), hsl(304 45% 51%), oklch(0.593 0.193 330.2)) is closest to the named color Mystifying Magenta. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#BA48B3
oklch(0.593 0.193 330.2)
Color conversions
- HEX
- #ba48b3
- RGB
- rgb(186 72 179)
- HSL
- hsl(304 45% 51%)
- HWB
- hwb(304 28% 27%)
- OKLCH
- oklch(0.593 0.193 330.2)
- OKLab
- oklab(0.593 0.167 -0.096)
- CIE Lab
- lab(49.86 56.25 -34.55)
- LCH
- lch(49.86 66.01 328.4)
- CMYK
- cmyk(0% 61% 4% 27%)
Tints · Shades · Tones
Tints
- C25DBB
- CA70C3
- D282CB
- D994D2
- E0A6DA
- E7B8E2
- EECAE9
- F4DBF0
- FAEDF8
Shades
- A13D9B
- 893384
- 72296E
- 5C1F58
- 461643
- 320D2F
- 1E061D
- 0D020C
- 020001
Tones
- B550AE
- B058A9
- AB5EA4
- A5649F
- A0699A
- 9A6F95
- 947390
- 8E788B
- 877C85
Color harmonies
Complementary +180°
- BA48B3
Mystifying Magenta
- 009845
≈ Luscious Green
Analogous -30° +30°
- BA48B3
Mystifying Magenta
- 925ADD
≈ Lavender Indigo
- D23C79
≈ Jaipur Pink
Triadic +120° +240°
- BA48B3
Mystifying Magenta
- 9A7A00
≈ Yellowish Brown
- 008EA0
≈ Coral Coast
Split-complementary +150° +210°
- BA48B3
Mystifying Magenta
- 748900
≈ Swamp Green
- 009381
≈ Silk Sari
Tetradic +90° +180° +270°
- BA48B3
Mystifying Magenta
- B86600
≈ Camel Fur
- 009845
≈ Luscious Green
- 0086C6
≈ Water Raceway
Contrast & accessibility
Ag
AAOn white
WCAG 4.50:1 · APCA Lc 70
Ag
AAOn black
WCAG 4.66:1 · APCA Lc 31
Best text color: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--mystifying-magenta: #ba48b3;
--mystifying-magenta-rgb: 186 72 179;
--mystifying-magenta-oklch: oklch(0.593 0.193 330.2);
}
.element {
color: var(--mystifying-magenta);
background-color: hsl(304 45% 51%);
border-color: oklch(0.593 0.193 330.2);
}Tailwind CSS v4
@theme {
--color-mystifying-magenta: #ba48b3;
--color-mystifying-magenta-50: #ffe1ff;
--color-mystifying-magenta-100: #ffd1ff;
--color-mystifying-magenta-200: #ffb5f9;
--color-mystifying-magenta-300: #f090e3;
--color-mystifying-magenta-400: #db6ed3;
--color-mystifying-magenta-500: #c848c1;
--color-mystifying-magenta-600: #a93ea3;
--color-mystifying-magenta-700: #883283;
--color-mystifying-magenta-800: #642363;
--color-mystifying-magenta-900: #461846;
--color-mystifying-magenta-950: #2d072d;
}SCSS
$mystifying-magenta: #ba48b3;
$mystifying-magenta-rgb: 186, 72, 179;
$mystifying-magenta-light: mix(#fff, $mystifying-magenta, 20%);
$mystifying-magenta-dark: mix(#000, $mystifying-magenta, 20%);
.element {
color: $mystifying-magenta;
box-shadow: 0 0 0 2px rgba($mystifying-magenta, 0.35);
}