Nearest named color · #B52BB9
#B52BB9
Nearest named color: Magentleman
#B52BB9 (rgb(181 43 185), hsl(298 62% 45%), oklch(0.562 0.229 326.8)) is closest to the named color Magentleman. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#B52BB9
oklch(0.562 0.229 326.8)
Color conversions
- HEX
- #b52bb9
- RGB
- rgb(181 43 185)
- HSL
- hsl(298 62% 45%)
- HWB
- hwb(298 17% 27%)
- OKLCH
- oklch(0.562 0.229 326.8)
- OKLab
- oklab(0.562 0.192 -0.125)
- CIE Lab
- lab(45.57 65.79 -44.86)
- LCH
- lch(45.57 79.63 325.7)
- CMYK
- cmyk(2% 77% 0% 27%)
Tints · Shades · Tones
Tints
- BE48C1
- C760C8
- CF75D0
- D78AD7
- DF9EDE
- E6B1E5
- EDC5EC
- F3D8F2
- F9EBF9
Shades
- 9D24A0
- 861D89
- 6F1671
- 59105B
- 440A46
- 300531
- 1D021E
- 0C010D
- 020002
Tones
- B13BB4
- AC46AE
- A850A9
- A359A4
- 9E619E
- 996898
- 936F92
- 8D758C
- 877B86
Color harmonies
Complementary +180°
- B52BB9
Magentleman
- 008E31
≈ North Texas Green
Analogous -30° +30°
- B52BB9
Magentleman
- 8746E8
≈ Pericallis Hybrida
- D20277
≈ Moth Orchid
Triadic +120° +240°
- B52BB9
Magentleman
- 926F00
≈ Honey Yellow Green
- 008592
≈ Painted Sea
Split-complementary +150° +210°
- B52BB9
Magentleman
- 717E00
≈ Flag Green
- 008974
≈ Industrial Turquoise
Tetradic +90° +180° +270°
- B52BB9
Magentleman
- AF5C00
≈ Elm Brown Red
- 008E31
≈ North Texas Green
- 007EB3
≈ Capstan
Contrast & accessibility
Ag
AAOn white
WCAG 5.23:1 · APCA Lc 75
Ag
FailOn black
WCAG 4.01:1 · APCA Lc 27
Best text color: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 75
Contrast pairs
Code snippets
CSS
:root {
--magentleman: #b52bb9;
--magentleman-rgb: 181 43 185;
--magentleman-oklch: oklch(0.562 0.229 326.8);
}
.element {
color: var(--magentleman);
background-color: hsl(298 62% 45%);
border-color: oklch(0.562 0.229 326.8);
}Tailwind CSS v4
@theme {
--color-magentleman: #b52bb9;
--color-magentleman-50: #ffdeff;
--color-magentleman-100: #ffcdff;
--color-magentleman-200: #ffb0ff;
--color-magentleman-300: #f588f0;
--color-magentleman-400: #e162e3;
--color-magentleman-500: #ce33d3;
--color-magentleman-600: #ae2eb2;
--color-magentleman-700: #8c258f;
--color-magentleman-800: #671a6d;
--color-magentleman-900: #48114d;
--color-magentleman-950: #2f0233;
}SCSS
$magentleman: #b52bb9;
$magentleman-rgb: 181, 43, 185;
$magentleman-light: mix(#fff, $magentleman, 20%);
$magentleman-dark: mix(#000, $magentleman, 20%);
.element {
color: $magentleman;
box-shadow: 0 0 0 2px rgba($magentleman, 0.35);
}