Nearest named color · #CC2AB0
#CC2AB0
Nearest named color: Mystifying Magenta
#CC2AB0 (rgb(204 42 176), hsl(310 66% 48%), oklch(0.592 0.234 336.5)) is closest to the named color Mystifying Magenta. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#CC2AB0
oklch(0.592 0.234 336.5)
Color conversions
- HEX
- #cc2ab0
- RGB
- rgb(204 42 176)
- HSL
- hsl(310 66% 48%)
- HWB
- hwb(310 16% 20%)
- OKLCH
- oklch(0.592 0.234 336.5)
- OKLab
- oklab(0.592 0.215 -0.093)
- CIE Lab
- lab(49.16 70.39 -33.61)
- LCH
- lch(49.16 78 334.5)
- CMYK
- cmyk(0% 79% 14% 20%)
Tints · Shades · Tones
Tints
- D449B8
- DB61C0
- E177C9
- E78BD1
- EC9FD9
- F1B2E0
- F6C6E8
- F9D9F0
- FDECF7
Shades
- B12399
- 971C82
- 7E166C
- 651056
- 4E0A42
- 37052E
- 22021C
- 0F010B
- 020001
Tones
- C63BAB
- BF47A7
- B851A2
- B25A9E
- AA6299
- A36994
- 9B6F8F
- 92758A
- 8A7B85
Color harmonies
Complementary +180°
- CC2AB0
Mystifying Magenta
- 009659
≈ Green Gloss
Analogous -30° +30°
- CC2AB0
Mystifying Magenta
- A246E8
≈ Pisces Vivid Amethyst
- E40967
≈ Exotic Liras
Triadic +120° +240°
- CC2AB0
Mystifying Magenta
- 937D00
≈ Moscow Papyrus
- 008DA6
≈ Quintana
Split-complementary +150° +210°
- CC2AB0
Mystifying Magenta
- 668D00
≈ Sap Green
- 009188
≈ Nifty Turquoise
Tetradic +90° +180° +270°
- CC2AB0
Mystifying Magenta
- B16B00
≈ Caramel
- 009659
≈ Green Gloss
- 0083D3
≈ Electron Blue
Contrast & accessibility
Ag
AAOn white
WCAG 4.64:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.52:1 · APCA Lc 31
Best text color: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 71
Contrast pairs
Code snippets
CSS
:root {
--mystifying-magenta: #cc2ab0;
--mystifying-magenta-rgb: 204 42 176;
--mystifying-magenta-oklch: oklch(0.592 0.234 336.5);
}
.element {
color: var(--mystifying-magenta);
background-color: hsl(310 66% 48%);
border-color: oklch(0.592 0.234 336.5);
}Tailwind CSS v4
@theme {
--color-mystifying-magenta: #cc2ab0;
--color-mystifying-magenta-50: #ffdcff;
--color-mystifying-magenta-100: #ffc9ff;
--color-mystifying-magenta-200: #ffabf6;
--color-mystifying-magenta-300: #ff82df;
--color-mystifying-magenta-400: #ef5ad1;
--color-mystifying-magenta-500: #dc21be;
--color-mystifying-magenta-600: #ba21a0;
--color-mystifying-magenta-700: #961b81;
--color-mystifying-magenta-800: #6e1262;
--color-mystifying-magenta-900: #4e0c45;
--color-mystifying-magenta-950: #33002d;
}SCSS
$mystifying-magenta: #cc2ab0;
$mystifying-magenta-rgb: 204, 42, 176;
$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);
}