最接近的命名颜色 · #D73456
#D73456
最接近的命名颜色: Cosmic Red
#D73456(rgb(215 52 86)、hsl(347 67% 52%)、oklch(0.585 0.198 14.4))最接近命名颜色 Cosmic Red。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D73456
oklch(0.585 0.198 14.4)
颜色转换
- HEX
- #d73456
- RGB
- rgb(215 52 86)
- HSL
- hsl(347 67% 52%)
- HWB
- hwb(347 20% 16%)
- OKLCH
- oklch(0.585 0.198 14.4)
- OKLab
- oklab(0.585 0.192 0.049)
- CIE Lab
- lab(49.67 64.13 21.64)
- LCH
- lch(49.67 67.68 18.6)
- CMYK
- cmyk(0% 76% 60% 16%)
浅色调 · 深色调 · 灰色调
浅色调
- DE4F66
- E56576
- EA7A86
- F08E97
- F4A1A8
- F8B4B9
- FBC7CA
- FDDADB
- FEECED
深色调
- BB2C4A
- 9F243E
- 851C32
- 6B1527
- 520E1C
- 3B0712
- 250308
- 110102
- 020000
灰色调
- D0415A
- C94C5F
- C15563
- B95D67
- B1646B
- A86B70
- 9F7174
- 967678
- 8B7B7C
配色和谐
互补色 +180°
- D73456
Cosmic Red
- 008E8E
≈ Forever Teal
类似色 -30° +30°
- D73456
Cosmic Red
- C73B97
≈ Lustful Wishes
- C95100
≈ Dark Orange
三角配色 +120° +240°
- D73456
Cosmic Red
- 4C9000
≈ Pistachio Flour
- 007AE8
≈ Blue Darknut
分裂互补色 +150° +210°
- D73456
Cosmic Red
- 009268
≈ Viridian
- 0089AC
≈ Corfu Waters
四角配色 +90° +180° +270°
- D73456
Cosmic Red
- 887F00
≈ Olive
- 008E8E
≈ Forever Teal
- 7462EA
≈ If I Could Fly
对比度与无障碍
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: #d73456;
--cosmic-red-rgb: 215 52 86;
--cosmic-red-oklch: oklch(0.585 0.198 14.4);
}
.element {
color: var(--cosmic-red);
background-color: hsl(347 67% 52%);
border-color: oklch(0.585 0.198 14.4);
}Tailwind CSS v4
@theme {
--color-cosmic-red: #d73456;
--color-cosmic-red-50: #ffdfe1;
--color-cosmic-red-100: #ffcdd1;
--color-cosmic-red-200: #ffb0b7;
--color-cosmic-red-300: #ff8994;
--color-cosmic-red-400: #fd6279;
--color-cosmic-red-500: #eb325c;
--color-cosmic-red-600: #c72e4e;
--color-cosmic-red-700: #a0253e;
--color-cosmic-red-800: #77182f;
--color-cosmic-red-900: #541020;
--color-cosmic-red-950: #38020f;
}SCSS
$cosmic-red: #d73456;
$cosmic-red-rgb: 215, 52, 86;
$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);
}