最接近的命名颜色 · #CB8A88
#CB8A88
最接近的命名颜色: Grand Sunset
#CB8A88(rgb(203 138 136)、hsl(2 39% 66%)、oklch(0.698 0.08 21.3))最接近命名颜色 Grand Sunset。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#CB8A88
oklch(0.698 0.08 21.3)
颜色转换
- HEX
- #cb8a88
- RGB
- rgb(203 138 136)
- HSL
- hsl(2 39% 66%)
- HWB
- hwb(2 53% 20%)
- OKLCH
- oklch(0.698 0.08 21.3)
- OKLab
- oklab(0.698 0.075 0.029)
- CIE Lab
- lab(64.16 25.35 11.7)
- LCH
- lch(64.16 27.93 24.8)
- CMYK
- cmyk(0% 32% 33% 20%)
浅色调 · 深色调 · 灰色调
浅色调
- D19593
- D7A19F
- DCACAA
- E1B8B6
- E7C4C2
- ECCFCE
- F1DBDA
- F6E7E6
- FAF3F3
深色调
- B07775
- 966563
- 7D5352
- 654241
- 4D3231
- 372222
- 221413
- 0F0706
- 020101
灰色调
- C48987
- BC8887
- B58886
- AE8785
- A68684
- 9F8583
- 978483
- 908282
- 888181
配色和谐
互补色 +180°
- CB8A88
Grand Sunset
- 5BADB2
≈ Fountain Blue
类似色 -30° +30°
- CB8A88
Grand Sunset
- C589A4
≈ Winsome Rose
- C69070
≈ Baker’s Dream
三角配色 +120° +240°
- CB8A88
Grand Sunset
- 82AB7C
≈ Verdant Haven
- 829ED0
≈ Caribbean Sky
分裂互补色 +150° +210°
- CB8A88
Grand Sunset
- 67AE97
≈ Green Crush
- 68A7C7
≈ Scott Base
四角配色 +90° +180° +270°
- CB8A88
Grand Sunset
- 9FA368
≈ Cocktail Olive
- 5BADB2
≈ Fountain Blue
- 9E95CC
≈ Distinct Purple
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.53:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.53:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--grand-sunset: #cb8a88;
--grand-sunset-rgb: 203 138 136;
--grand-sunset-oklch: oklch(0.698 0.08 21.3);
}
.element {
color: var(--grand-sunset);
background-color: hsl(2 39% 66%);
border-color: oklch(0.698 0.08 21.3);
}Tailwind CSS v4
@theme {
--color-grand-sunset: #cb8a88;
--color-grand-sunset-50: #ffedea;
--color-grand-sunset-100: #ffdedb;
--color-grand-sunset-200: #f5c8c4;
--color-grand-sunset-300: #dea8a4;
--color-grand-sunset-400: #ca8c8a;
--color-grand-sunset-500: #b5706f;
--color-grand-sunset-600: #995f5e;
--color-grand-sunset-700: #7b4c4b;
--color-grand-sunset-800: #5b3737;
--color-grand-sunset-900: #402526;
--color-grand-sunset-950: #281414;
}SCSS
$grand-sunset: #cb8a88;
$grand-sunset-rgb: 203, 138, 136;
$grand-sunset-light: mix(#fff, $grand-sunset, 20%);
$grand-sunset-dark: mix(#000, $grand-sunset, 20%);
.element {
color: $grand-sunset;
box-shadow: 0 0 0 2px rgba($grand-sunset, 0.35);
}