最接近的命名颜色 · #AB92B6
#AB92B6
最接近的命名颜色: Metal Petal
#AB92B6(rgb(171 146 182)、hsl(282 20% 64%)、oklch(0.694 0.059 315.5))最接近命名颜色 Metal Petal。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#AB92B6
oklch(0.694 0.059 315.5)
颜色转换
- HEX
- #ab92b6
- RGB
- rgb(171 146 182)
- HSL
- hsl(282 20% 64%)
- HWB
- hwb(282 57% 29%)
- OKLCH
- oklch(0.694 0.059 315.5)
- OKLab
- oklab(0.694 0.042 -0.041)
- CIE Lab
- lab(63.76 14.65 -15.24)
- LCH
- lch(63.76 21.14 313.9)
- CMYK
- cmyk(6% 20% 0% 29%)
浅色调 · 深色调 · 灰色调
浅色调
- B39CBD
- BBA7C4
- C4B2CC
- CCBDD3
- D4C7DA
- DDD2E2
- E5DDE9
- EEE8F0
- F6F4F8
深色调
- 947E9E
- 7E6B86
- 68586F
- 544659
- 403544
- 2D2530
- 1B161D
- 0B080C
- 010102
灰色调
- A790B1
- A28FAB
- 9E8DA6
- 9A8BA0
- 95899B
- 918795
- 8D8690
- 89848B
- 848285
配色和谐
互补色 +180°
- AB92B6
Metal Petal
- 8DA581
≈ Mermaid’s Cove
类似色 -30° +30°
- AB92B6
Metal Petal
- 9998C0
≈ Grape Ivy
- B88EA5
≈ Elite Pink
三角配色 +120° +240°
- AB92B6
Metal Petal
- B29874
≈ Dry Starfish
- 70A9A8
≈ Cresting Waves
分裂互补色 +150° +210°
- AB92B6
Metal Petal
- A19F75
≈ Pine Trail
- 7AA994
≈ Acapulco
四角配色 +90° +180° +270°
- AB92B6
Metal Petal
- BC927E
≈ Belfry Brick
- 8DA581
≈ Mermaid’s Cove
- 75A5B9
≈ Blue Ridge Mist
对比度与无障碍
Ag
Fail白底
WCAG 2.79:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.51:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.51:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--metal-petal: #ab92b6;
--metal-petal-rgb: 171 146 182;
--metal-petal-oklch: oklch(0.694 0.059 315.5);
}
.element {
color: var(--metal-petal);
background-color: hsl(282 20% 64%);
border-color: oklch(0.694 0.059 315.5);
}Tailwind CSS v4
@theme {
--color-metal-petal: #ab92b6;
--color-metal-petal-50: #fcf0ff;
--color-metal-petal-100: #f0e2f5;
--color-metal-petal-200: #dfcde5;
--color-metal-petal-300: #c4aecc;
--color-metal-petal-400: #ac94b7;
--color-metal-petal-500: #957ba1;
--color-metal-petal-600: #7e6888;
--color-metal-petal-700: #65536d;
--color-metal-petal-800: #4a3c51;
--color-metal-petal-900: #332a38;
--color-metal-petal-950: #1f1723;
}SCSS
$metal-petal: #ab92b6;
$metal-petal-rgb: 171, 146, 182;
$metal-petal-light: mix(#fff, $metal-petal, 20%);
$metal-petal-dark: mix(#000, $metal-petal, 20%);
.element {
color: $metal-petal;
box-shadow: 0 0 0 2px rgba($metal-petal, 0.35);
}