最接近的命名颜色 · #B186B4
#B186B4
最接近的命名颜色: Heart Potion
#B186B4(rgb(177 134 180)、hsl(296 23% 62%)、oklch(0.677 0.082 324.3))最接近命名颜色 Heart Potion。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#B186B4
oklch(0.677 0.082 324.3)
颜色转换
- HEX
- #b186b4
- RGB
- rgb(177 134 180)
- HSL
- hsl(296 23% 62%)
- HWB
- hwb(296 53% 29%)
- OKLCH
- oklch(0.677 0.082 324.3)
- OKLab
- oklab(0.677 0.067 -0.048)
- CIE Lab
- lab(61.34 22.9 -17.66)
- LCH
- lch(61.34 28.92 322.4)
- CMYK
- cmyk(2% 26% 0% 29%)
浅色调 · 深色调 · 灰色调
浅色调
- B992BB
- C19EC3
- C8A9CA
- D0B5D2
- D8C1D9
- E0CEE1
- E8DAE8
- EFE6F0
- F7F2F7
深色调
- 99749C
- 836285
- 6C516E
- 574058
- 423044
- 2F2130
- 1C131D
- 0C060C
- 010102
灰色调
- AC86AF
- A785AA
- A285A4
- 9E849F
- 99839A
- 948395
- 8F8290
- 8A828A
- 858185
配色和谐
互补色 +180°
- B186B4
Heart Potion
- 78A577
≈ Hierba Santa
类似色 -30° +30°
- B186B4
Heart Potion
- 9A8EC5
≈ Hermosa
- C0829A
≈ Polignac
三角配色 +120° +240°
- B186B4
Heart Potion
- AF935A
≈ Wheatacre
- 52A6AF
≈ Freshwater
分裂互补色 +150° +210°
- B186B4
Heart Potion
- 969D61
≈ Stem
- 5CA894
≈ Polished Pine
四角配色 +90° +180° +270°
- B186B4
Heart Potion
- BF8A66
≈ Fenugreek
- 78A577
≈ Hierba Santa
- 62A0C3
≈ Gulf Stream Blue
对比度与无障碍
Ag
Fail白底
WCAG 3.02:1 · APCA Lc 57
Ag
AA黑底
WCAG 6.93:1 · APCA Lc 45
最佳文字颜色: #000000
WCAG 6.93:1 (AA) · APCA Lc 45
Contrast pairs
代码片段
CSS
:root {
--heart-potion: #b186b4;
--heart-potion-rgb: 177 134 180;
--heart-potion-oklch: oklch(0.677 0.082 324.3);
}
.element {
color: var(--heart-potion);
background-color: hsl(296 23% 62%);
border-color: oklch(0.677 0.082 324.3);
}Tailwind CSS v4
@theme {
--color-heart-potion: #b186b4;
--color-heart-potion-50: #ffedff;
--color-heart-potion-100: #f7dff7;
--color-heart-potion-200: #e8c9e7;
--color-heart-potion-300: #cea9ce;
--color-heart-potion-400: #b78eba;
--color-heart-potion-500: #a173a5;
--color-heart-potion-600: #89628b;
--color-heart-potion-700: #6d4e70;
--color-heart-potion-800: #503953;
--color-heart-potion-900: #38273a;
--color-heart-potion-950: #221524;
}SCSS
$heart-potion: #b186b4;
$heart-potion-rgb: 177, 134, 180;
$heart-potion-light: mix(#fff, $heart-potion, 20%);
$heart-potion-dark: mix(#000, $heart-potion, 20%);
.element {
color: $heart-potion;
box-shadow: 0 0 0 2px rgba($heart-potion, 0.35);
}