最接近的命名颜色 · #F2D7E1
#F2D7E1
最接近的命名颜色: Marshmallow Heart
#F2D7E1(rgb(242 215 225)、hsl(338 51% 90%)、oklch(0.904 0.033 353.4))最接近命名颜色 Marshmallow Heart。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#F2D7E1
oklch(0.904 0.033 353.4)
颜色转换
- HEX
- #f2d7e1
- RGB
- rgb(242 215 225)
- HSL
- hsl(338 51% 90%)
- HWB
- hwb(338 84% 5%)
- OKLCH
- oklch(0.904 0.033 353.4)
- OKLab
- oklab(0.904 0.032 -0.004)
- CIE Lab
- lab(88.46 10.9 -1.32)
- LCH
- lch(88.46 10.98 353.1)
- CMYK
- cmyk(0% 11% 7% 5%)
浅色调 · 深色调 · 灰色调
浅色调
- F3DBE4
- F5DFE7
- F6E3EA
- F7E7ED
- F9EBF0
- FAEFF3
- FBF3F6
- FDF7F9
- FEFBFC
深色调
- D2BBC4
- B49FA7
- 96858B
- 796B70
- 5E5256
- 433B3E
- 2B2527
- 141112
- 030202
灰色调
- E6CED7
- DAC5CD
- CFBCC3
- C3B3B9
- B8ABAF
- ACA2A6
- A1999C
- 969193
- 8B8889
配色和谐
互补色 +180°
- F2D7E1
Marshmallow Heart
- CAE7DD
≈ Light Short Phase
类似色 -30° +30°
- F2D7E1
Marshmallow Heart
- EBD9EC
≈ Pale Grey Magenta
- F5D8D5
≈ Frosted Tulip
三角配色 +120° +240°
- F2D7E1
Marshmallow Heart
- DFE2CA
≈ Aloe Nectar
- CBE4F2
≈ Niagara Falls
分裂互补色 +150° +210°
- F2D7E1
Marshmallow Heart
- D3E5D2
≈ Herbal Mist
- C7E6E9
≈ Snowmelt
四角配色 +90° +180° +270°
- F2D7E1
Marshmallow Heart
- EADEC8
≈ Castle Ridge
- CAE7DD
≈ Light Short Phase
- D4E0F6
≈ Puffy Cloud
对比度与无障碍
Ag
Fail白底
WCAG 1.34:1 · APCA Lc 17
Ag
AAA黑底
WCAG 15.58:1 · APCA Lc 87
最佳文字颜色: #000000
WCAG 15.58:1 (AAA) · APCA Lc 87
Contrast pairs
代码片段
CSS
:root {
--marshmallow-heart: #f2d7e1;
--marshmallow-heart-rgb: 242 215 225;
--marshmallow-heart-oklch: oklch(0.904 0.033 353.4);
}
.element {
color: var(--marshmallow-heart);
background-color: hsl(338 51% 90%);
border-color: oklch(0.904 0.033 353.4);
}Tailwind CSS v4
@theme {
--color-marshmallow-heart: #f2d7e1;
--color-marshmallow-heart-50: #fdf1f5;
--color-marshmallow-heart-100: #f2e4e8;
--color-marshmallow-heart-200: #e1cfd5;
--color-marshmallow-heart-300: #c6b1b8;
--color-marshmallow-heart-400: #af97a0;
--color-marshmallow-heart-500: #987e88;
--color-marshmallow-heart-600: #816a73;
--color-marshmallow-heart-700: #67555c;
--color-marshmallow-heart-800: #4c3e44;
--color-marshmallow-heart-900: #352b2f;
--color-marshmallow-heart-950: #20181b;
}SCSS
$marshmallow-heart: #f2d7e1;
$marshmallow-heart-rgb: 242, 215, 225;
$marshmallow-heart-light: mix(#fff, $marshmallow-heart, 20%);
$marshmallow-heart-dark: mix(#000, $marshmallow-heart, 20%);
.element {
color: $marshmallow-heart;
box-shadow: 0 0 0 2px rgba($marshmallow-heart, 0.35);
}