Najbliższy nazwany kolor · #A21FB2
#A21FB2
Najbliższy nazwany kolor: Magentleman
#A21FB2 (rgb(162 31 178), hsl(293 70% 41%), oklch(0.522 0.226 323)) jest najbliższy nazwanemu kolorowi Magentleman. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#A21FB2
oklch(0.522 0.226 323)
Konwersje koloru
- HEX
- #a21fb2
- RGB
- rgb(162 31 178)
- HSL
- hsl(293 70% 41%)
- HWB
- hwb(293 12% 30%)
- OKLCH
- oklch(0.522 0.226 323)
- OKLab
- oklab(0.522 0.18 -0.136)
- CIE Lab
- lab(40.77 63.83 -48.62)
- LCH
- lch(40.77 80.24 322.7)
- CMYK
- cmyk(9% 83% 0% 30%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- AD40BB
- B758C3
- C16FCB
- CB84D3
- D499DB
- DDADE3
- E6C2EA
- EFD6F1
- F7EAF8
Odcienie ciemniejsze
- 8C199A
- 771483
- 630F6D
- 4F0A57
- 3C0643
- 2A032F
- 19011D
- 0A000C
- 010001
Tony
- A032AE
- 9D3FA9
- 9A4AA4
- 9754A0
- 945C9B
- 916496
- 8D6C91
- 89738B
- 857A86
Harmonie kolorów
Komplementarna +180°
- A21FB2
Magentleman
- 008109
≈ Ao
Analogowa -30° +30°
- A21FB2
Magentleman
- 753CDC
≈ Hokkaido Lavender
- BC0074
≈ Eye Popping Cherry
Triada +120° +240°
- A21FB2
Magentleman
- 876200
≈ Rat Brown
- 007880
≈ Hypnotic Sea
Komplementarna rozszczepiona +150° +210°
- A21FB2
Magentleman
- 6A7000
≈ Brownish Green
- 007C64
≈ Turquoise Cyan
Tetrada +90° +180° +270°
- A21FB2
Magentleman
- A24F00
≈ Burnt Bagel
- 008109
≈ Ao
- 00739D
≈ Tofino Belue
Kontrast i dostępność
Ag
AANa bieli
WCAG 6.22:1 · APCA Lc 79
Ag
FailNa czerni
WCAG 3.37:1 · APCA Lc 22
Najlepszy kolor tekstu: #FFFFFF
WCAG 6.22:1 (AA) · APCA Lc 79
Contrast pairs
Fragmenty kodu
CSS
:root {
--magentleman: #a21fb2;
--magentleman-rgb: 162 31 178;
--magentleman-oklch: oklch(0.522 0.226 323);
}
.element {
color: var(--magentleman);
background-color: hsl(293 70% 41%);
border-color: oklch(0.522 0.226 323);
}Tailwind CSS v4
@theme {
--color-magentleman: #a21fb2;
--color-magentleman-50: #ffdfff;
--color-magentleman-100: #ffceff;
--color-magentleman-200: #ffb2ff;
--color-magentleman-300: #f08bf6;
--color-magentleman-400: #db66ea;
--color-magentleman-500: #c839da;
--color-magentleman-600: #a933b8;
--color-magentleman-700: #882994;
--color-magentleman-800: #631d70;
--color-magentleman-900: #46134f;
--color-magentleman-950: #2d0435;
}SCSS
$magentleman: #a21fb2;
$magentleman-rgb: 162, 31, 178;
$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);
}