最接近的命名颜色 · #AB92B5
#AB92B5
最接近的命名颜色: Metal Petal
#AB92B5(rgb(171 146 181)、hsl(283 19% 64%)、oklch(0.694 0.058 316.3))最接近命名颜色 Metal Petal。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#AB92B5
oklch(0.694 0.058 316.3)
颜色转换
- HEX
- #ab92b5
- RGB
- rgb(171 146 181)
- HSL
- hsl(283 19% 64%)
- HWB
- hwb(283 57% 29%)
- OKLCH
- oklch(0.694 0.058 316.3)
- OKLab
- oklab(0.694 0.042 -0.04)
- CIE Lab
- lab(63.73 14.5 -14.73)
- LCH
- lch(63.73 20.66 314.6)
- CMYK
- cmyk(6% 19% 0% 29%)
浅色调 · 深色调 · 灰色调
浅色调
- B39CBC
- BBA7C4
- C4B2CB
- CCBDD2
- D4C7DA
- DDD2E1
- E5DDE9
- EEE8F0
- F6F4F8
深色调
- 947E9D
- 7E6B86
- 68586F
- 544659
- 403544
- 2D2530
- 1B161D
- 0B080C
- 010102
灰色调
- A790B0
- A28FAA
- 9E8DA5
- 9A8BA0
- 95899A
- 918795
- 8D8690
- 89848A
- 848285
配色和谐
互补色 +180°
- AB92B5
Metal Petal
- 8DA582
≈ Mermaid’s Cove
类似色 -30° +30°
- AB92B5
Metal Petal
- 9998BF
≈ Grape Ivy
- B88FA4
≈ Elite Pink
三角配色 +120° +240°
- AB92B5
Metal Petal
- B19875
≈ Dry Starfish
- 71A8A8
≈ Cresting Waves
分裂互补色 +150° +210°
- AB92B5
Metal Petal
- A19F76
≈ Pine Trail
- 7AA895
≈ Acapulco
四角配色 +90° +180° +270°
- AB92B5
Metal Petal
- BC927F
≈ Belfry Brick
- 8DA582
≈ Mermaid’s Cove
- 76A4B8
≈ 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: #ab92b5;
--metal-petal-rgb: 171 146 181;
--metal-petal-oklch: oklch(0.694 0.058 316.3);
}
.element {
color: var(--metal-petal);
background-color: hsl(283 19% 64%);
border-color: oklch(0.694 0.058 316.3);
}Tailwind CSS v4
@theme {
--color-metal-petal: #ab92b5;
--color-metal-petal-50: #fcf0ff;
--color-metal-petal-100: #f0e2f5;
--color-metal-petal-200: #dfcde5;
--color-metal-petal-300: #c4afcb;
--color-metal-petal-400: #ac94b6;
--color-metal-petal-500: #957ba0;
--color-metal-petal-600: #7e6887;
--color-metal-petal-700: #65536c;
--color-metal-petal-800: #4a3d50;
--color-metal-petal-900: #332a38;
--color-metal-petal-950: #1f1723;
}SCSS
$metal-petal: #ab92b5;
$metal-petal-rgb: 171, 146, 181;
$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);
}