最接近的命名颜色 · #AB50C2
#AB50C2
最接近的命名颜色: Fuchsia Pheromone
#AB50C2(rgb(171 80 194)、hsl(288 48% 54%)、oklch(0.591 0.187 319.1))最接近命名颜色 Fuchsia Pheromone。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#AB50C2
oklch(0.591 0.187 319.1)
颜色转换
- HEX
- #ab50c2
- RGB
- rgb(171 80 194)
- HSL
- hsl(288 48% 54%)
- HWB
- hwb(288 31% 24%)
- OKLCH
- oklch(0.591 0.187 319.1)
- OKLab
- oklab(0.591 0.141 -0.122)
- CIE Lab
- lab(49.6 50.58 -43.85)
- LCH
- lch(49.6 66.94 319.1)
- CMYK
- cmyk(12% 59% 0% 24%)
浅色调 · 深色调 · 灰色调
浅色调
- B463C9
- BD75D0
- C687D6
- CE98DC
- D7A9E3
- DFBAE9
- E7CBEE
- EFDDF4
- F7EEFA
深色调
- 9444A8
- 7E398F
- 682E77
- 542460
- 401A49
- 2D1034
- 1B0720
- 0B020E
- 010002
灰色调
- A757BC
- A35DB5
- 9F63AF
- 9B68A9
- 976CA2
- 93719C
- 8E7595
- 8A798E
- 857D87
配色和谐
互补色 +180°
- AB50C2
Fuchsia Pheromone
- 349600
≈ Planter
类似色 -30° +30°
- AB50C2
Fuchsia Pheromone
- 7E63E3
≈ Medium Slate Blue
- C8428F
≈ Smitten
三角配色 +120° +240°
- AB50C2
Fuchsia Pheromone
- A47300
≈ Barbarian Leather
- 008F94
≈ Christina Brown
分裂互补色 +150° +210°
- AB50C2
Fuchsia Pheromone
- 848300
≈ Drably Olive
- 009371
≈ Dòu Lǜ Green
四角配色 +90° +180° +270°
- AB50C2
Fuchsia Pheromone
- C55A00
≈ Rust Orange
- 349600
≈ Planter
- 0089B4
≈ Stomy Shower
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.65:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--fuchsia-pheromone: #ab50c2;
--fuchsia-pheromone-rgb: 171 80 194;
--fuchsia-pheromone-oklch: oklch(0.591 0.187 319.1);
}
.element {
color: var(--fuchsia-pheromone);
background-color: hsl(288 48% 54%);
border-color: oklch(0.591 0.187 319.1);
}Tailwind CSS v4
@theme {
--color-fuchsia-pheromone: #ab50c2;
--color-fuchsia-pheromone-50: #ffe4ff;
--color-fuchsia-pheromone-100: #ffd4ff;
--color-fuchsia-pheromone-200: #f9baff;
--color-fuchsia-pheromone-300: #e296f1;
--color-fuchsia-pheromone-400: #cc75e3;
--color-fuchsia-pheromone-500: #b952d2;
--color-fuchsia-pheromone-600: #9c47b1;
--color-fuchsia-pheromone-700: #7d388f;
--color-fuchsia-pheromone-800: #5b286c;
--color-fuchsia-pheromone-900: #401b4c;
--color-fuchsia-pheromone-950: #290b32;
}SCSS
$fuchsia-pheromone: #ab50c2;
$fuchsia-pheromone-rgb: 171, 80, 194;
$fuchsia-pheromone-light: mix(#fff, $fuchsia-pheromone, 20%);
$fuchsia-pheromone-dark: mix(#000, $fuchsia-pheromone, 20%);
.element {
color: $fuchsia-pheromone;
box-shadow: 0 0 0 2px rgba($fuchsia-pheromone, 0.35);
}