最接近的命名颜色 · #D83352
#D83352
最接近的命名颜色: Cosmic Red
#D83352(rgb(216 51 82)、hsl(349 68% 52%)、oklch(0.585 0.2 15.9))最接近命名颜色 Cosmic Red。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D83352
oklch(0.585 0.2 15.9)
颜色转换
- HEX
- #d83352
- RGB
- rgb(216 51 82)
- HSL
- hsl(349 68% 52%)
- HWB
- hwb(349 20% 15%)
- OKLCH
- oklch(0.585 0.2 15.9)
- OKLab
- oklab(0.585 0.192 0.055)
- CIE Lab
- lab(49.69 64.53 24.13)
- LCH
- lch(49.69 68.9 20.5)
- CMYK
- cmyk(0% 76% 62% 15%)
浅色调 · 深色调 · 灰色调
浅色调
- DF4E62
- E56573
- EB7A84
- F08E94
- F5A1A6
- F8B4B7
- FBC7C9
- FDDADB
- FFECED
深色调
- BC2B46
- A0233B
- 851C2F
- 6B1425
- 530D1A
- 3B0711
- 250308
- 110102
- 020000
灰色调
- D14157
- C94C5C
- C25560
- BA5D65
- B1646A
- A96B6E
- A07173
- 967677
- 8B7B7C
配色和谐
互补色 +180°
- D83352
Cosmic Red
- 008E8F
≈ Forever Teal
类似色 -30° +30°
- D83352
Cosmic Red
- C83A95
≈ Magenta Pink
- C75400
≈ Rust Orange
三角配色 +120° +240°
- D83352
Cosmic Red
- 469100
≈ Pistachio Flour
- 0078EE
≈ Blue Darknut
分裂互补色 +150° +210°
- D83352
Cosmic Red
- 00926B
≈ Viridian
- 0089AE
≈ Corfu Waters
四角配色 +90° +180° +270°
- D83352
Cosmic Red
- 867F00
≈ Olive
- 008E8F
≈ Forever Teal
- 7760EA
≈ Medium Slate Blue
对比度与无障碍
Ag
AA白底
WCAG 4.65:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.51:1 · APCA Lc 31
最佳文字颜色: #FFFFFF
WCAG 4.65:1 (AA) · APCA Lc 71
Contrast pairs
代码片段
CSS
:root {
--cosmic-red: #d83352;
--cosmic-red-rgb: 216 51 82;
--cosmic-red-oklch: oklch(0.585 0.2 15.9);
}
.element {
color: var(--cosmic-red);
background-color: hsl(349 68% 52%);
border-color: oklch(0.585 0.2 15.9);
}Tailwind CSS v4
@theme {
--color-cosmic-red: #d83352;
--color-cosmic-red-50: #ffdfe0;
--color-cosmic-red-100: #ffcdcf;
--color-cosmic-red-200: #ffb0b4;
--color-cosmic-red-300: #ff8990;
--color-cosmic-red-400: #fe6275;
--color-cosmic-red-500: #ec3157;
--color-cosmic-red-600: #c82d4a;
--color-cosmic-red-700: #a1243b;
--color-cosmic-red-800: #78182d;
--color-cosmic-red-900: #55101e;
--color-cosmic-red-950: #38010e;
}SCSS
$cosmic-red: #d83352;
$cosmic-red-rgb: 216, 51, 82;
$cosmic-red-light: mix(#fff, $cosmic-red, 20%);
$cosmic-red-dark: mix(#000, $cosmic-red, 20%);
.element {
color: $cosmic-red;
box-shadow: 0 0 0 2px rgba($cosmic-red, 0.35);
}