Nearest named color · #C240B1
#C240B1
Nearest named color: Mystifying Magenta
#C240B1 (rgb(194 64 177), hsl(308 52% 51%), oklch(0.595 0.206 333.5)) is closest to the named color Mystifying Magenta. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#C240B1
oklch(0.595 0.206 333.5)
Color conversions
- HEX
- #c240b1
- RGB
- rgb(194 64 177)
- HSL
- hsl(308 52% 51%)
- HWB
- hwb(308 25% 24%)
- OKLCH
- oklch(0.595 0.206 333.5)
- OKLab
- oklab(0.595 0.185 -0.092)
- CIE Lab
- lab(49.91 61.31 -33.19)
- LCH
- lch(49.91 69.72 331.6)
- CMYK
- cmyk(0% 67% 9% 24%)
Tints · Shades · Tones
Tints
- CA57B9
- D16BC1
- D97FC9
- DF92D1
- E6A4D9
- ECB6E1
- F1C8E8
- F6DBF0
- FBEDF8
Shades
- A83699
- 8F2D83
- 77246C
- 601B57
- 491342
- 340B2F
- 20051C
- 0E010C
- 020001
Tones
- BC4AAC
- B753A8
- B15AA3
- AB619E
- A46799
- 9E6D94
- 97728F
- 90778A
- 887C85
Color harmonies
Complementary +180°
- C240B1
Mystifying Magenta
- 009852
≈ Garnish
Analogous -30° +30°
- C240B1
Mystifying Magenta
- 9A54E1
≈ Navy Genesis Evangelion
- DA3272
≈ Beetroot Purple
Triadic +120° +240°
- C240B1
Mystifying Magenta
- 977C00
≈ Cerignola Olive
- 008EA4
≈ Parrot Flight
Split-complementary +150° +210°
- C240B1
Mystifying Magenta
- 6E8C00
≈ Canopy
- 009385
≈ Old Benchmark
Tetradic +90° +180° +270°
- C240B1
Mystifying Magenta
- B56A00
≈ Brown Orange
- 009852
≈ Garnish
- 0086CE
≈ Water Blue
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: #c240b1;
--mystifying-magenta-rgb: 194 64 177;
--mystifying-magenta-oklch: oklch(0.595 0.206 333.5);
}
.element {
color: var(--mystifying-magenta);
background-color: hsl(308 52% 51%);
border-color: oklch(0.595 0.206 333.5);
}Tailwind CSS v4
@theme {
--color-mystifying-magenta: #c240b1;
--color-mystifying-magenta-50: #ffdfff;
--color-mystifying-magenta-100: #ffceff;
--color-mystifying-magenta-200: #ffb2f7;
--color-mystifying-magenta-300: #f78be0;
--color-mystifying-magenta-400: #e367d1;
--color-mystifying-magenta-500: #d03dbe;
--color-mystifying-magenta-600: #b036a0;
--color-mystifying-magenta-700: #8d2b81;
--color-mystifying-magenta-800: #681e62;
--color-mystifying-magenta-900: #491445;
--color-mystifying-magenta-950: #30052c;
}SCSS
$mystifying-magenta: #c240b1;
$mystifying-magenta-rgb: 194, 64, 177;
$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);
}