最接近的命名颜色 · #FFBFE4
#FFBFE4
最接近的命名颜色: Pretty in Pink
#FFBFE4(rgb(255 191 228)、hsl(325 100% 87%)、oklch(0.873 0.087 343.5))最接近命名颜色 Pretty in Pink。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#FFBFE4
oklch(0.873 0.087 343.5)
颜色转换
- HEX
- #ffbfe4
- RGB
- rgb(255 191 228)
- HSL
- hsl(325 100% 87%)
- HWB
- hwb(325 75% 0%)
- OKLCH
- oklch(0.873 0.087 343.5)
- OKLab
- oklab(0.873 0.083 -0.025)
- CIE Lab
- lab(84.12 27.79 -9.06)
- LCH
- lch(84.12 29.23 342)
- CMYK
- cmyk(0% 25% 11% 0%)
浅色调 · 深色调 · 灰色调
浅色调
- FFC5E7
- FFCCE9
- FFD2EC
- FFD9EF
- FFDFF2
- FFE6F4
- FFECF7
- FFF2FA
- FFF9FC
深色调
- DEA6C6
- BE8DA9
- 9E758D
- 805E72
- 634858
- 48333F
- 2E1F28
- 160D12
- 030203
灰色调
- F2B9DA
- E5B2CF
- D8ACC5
- CBA6BB
- BE9FB1
- B299A7
- A5939D
- 998D93
- 8C868A
配色和谐
互补色 +180°
- FFBFE4
Pretty in Pink
- 9FE8C6
≈ Tropical
类似色 -30° +30°
- FFBFE4
Pretty in Pink
- EAC5FE
≈ Wisteria Powder
- FFC4C8
≈ Pink and Sleek
三角配色 +120° +240°
- FFBFE4
Pretty in Pink
- DFD995
≈ Celery Heart
- 95E2FF
≈ Columbia Blue
分裂互补色 +150° +210°
- FFBFE4
Pretty in Pink
- BFE2A8
≈ Cactus Spike
- 8EE8E5
≈ Aqua Fiesta
四角配色 +90° +180° +270°
- FFBFE4
Pretty in Pink
- F8CD95
≈ Impala
- 9FE8C6
≈ Tropical
- B9D8FF
≈ Oh Boy!
对比度与无障碍
Ag
Fail白底
WCAG 1.51:1 · APCA Lc 24
Ag
AAA黑底
WCAG 13.82:1 · APCA Lc 79
最佳文字颜色: #000000
WCAG 13.82:1 (AAA) · APCA Lc 79
Contrast pairs
代码片段
CSS
:root {
--pretty-in-pink: #ffbfe4;
--pretty-in-pink-rgb: 255 191 228;
--pretty-in-pink-oklch: oklch(0.873 0.087 343.5);
}
.element {
color: var(--pretty-in-pink);
background-color: hsl(325 100% 87%);
border-color: oklch(0.873 0.087 343.5);
}Tailwind CSS v4
@theme {
--color-pretty-in-pink: #ffbfe4;
--color-pretty-in-pink-50: #ffecfb;
--color-pretty-in-pink-100: #ffddee;
--color-pretty-in-pink-200: #f1c6dc;
--color-pretty-in-pink-300: #d9a6c1;
--color-pretty-in-pink-400: #c38aac;
--color-pretty-in-pink-500: #ae6e95;
--color-pretty-in-pink-600: #935e7e;
--color-pretty-in-pink-700: #764b65;
--color-pretty-in-pink-800: #57364b;
--color-pretty-in-pink-900: #3d2534;
--color-pretty-in-pink-950: #261320;
}SCSS
$pretty-in-pink: #ffbfe4;
$pretty-in-pink-rgb: 255, 191, 228;
$pretty-in-pink-light: mix(#fff, $pretty-in-pink, 20%);
$pretty-in-pink-dark: mix(#000, $pretty-in-pink, 20%);
.element {
color: $pretty-in-pink;
box-shadow: 0 0 0 2px rgba($pretty-in-pink, 0.35);
}