最接近的命名颜色 · #AB92B7
#AB92B7
最接近的命名颜色: Metal Petal
#AB92B7(rgb(171 146 183)、hsl(281 20% 65%)、oklch(0.695 0.06 314.8))最接近命名颜色 Metal Petal。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#AB92B7
oklch(0.695 0.06 314.8)
颜色转换
- HEX
- #ab92b7
- RGB
- rgb(171 146 183)
- HSL
- hsl(281 20% 65%)
- HWB
- hwb(281 57% 28%)
- OKLCH
- oklch(0.695 0.06 314.8)
- OKLab
- oklab(0.695 0.042 -0.043)
- CIE Lab
- lab(63.78 14.8 -15.76)
- LCH
- lch(63.78 21.62 313.2)
- CMYK
- cmyk(7% 20% 0% 28%)
浅色调 · 深色调 · 灰色调
浅色调
- B39DBE
- BBA7C5
- C4B2CC
- CCBDD4
- D4C7DB
- DDD2E2
- E5DDE9
- EEE9F0
- F6F4F8
深色调
- 947E9F
- 7E6B87
- 685870
- 54465A
- 403545
- 2D2531
- 1B161E
- 0B080C
- 010102
灰色调
- A790B1
- A28FAC
- 9E8DA6
- 9A8BA1
- 95899B
- 918796
- 8D8690
- 89848B
- 848285
配色和谐
互补色 +180°
- AB92B7
Metal Petal
- 8DA680
≈ Baby Spinach
类似色 -30° +30°
- AB92B7
Metal Petal
- 9898C1
≈ Grape Ivy
- B98EA6
≈ Elite Pink
三角配色 +120° +240°
- AB92B7
Metal Petal
- B39873
≈ Gold Season
- 6FA9A8
≈ Cresting Waves
分裂互补色 +150° +210°
- AB92B7
Metal Petal
- A29F74
≈ Fresh Olive
- 7AA993
≈ Acapulco
四角配色 +90° +180° +270°
- AB92B7
Metal Petal
- BD917E
≈ Belfry Brick
- 8DA680
≈ Baby Spinach
- 74A5B9
≈ Blue Ridge Mist
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.52:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--metal-petal: #ab92b7;
--metal-petal-rgb: 171 146 183;
--metal-petal-oklch: oklch(0.695 0.06 314.8);
}
.element {
color: var(--metal-petal);
background-color: hsl(281 20% 65%);
border-color: oklch(0.695 0.06 314.8);
}Tailwind CSS v4
@theme {
--color-metal-petal: #ab92b7;
--color-metal-petal-50: #fcf0ff;
--color-metal-petal-100: #f0e2f6;
--color-metal-petal-200: #dfcde6;
--color-metal-petal-300: #c4aecc;
--color-metal-petal-400: #ac94b7;
--color-metal-petal-500: #957aa2;
--color-metal-petal-600: #7e6889;
--color-metal-petal-700: #65536e;
--color-metal-petal-800: #4a3c51;
--color-metal-petal-900: #332939;
--color-metal-petal-950: #1f1723;
}SCSS
$metal-petal: #ab92b7;
$metal-petal-rgb: 171, 146, 183;
$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);
}