最接近的命名颜色 · #C54F22
#C54F22
最接近的命名颜色: Red Panda
#C54F22(rgb(197 79 34)、hsl(17 71% 45%)、oklch(0.577 0.161 39.5))最接近命名颜色 Red Panda。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#C54F22
oklch(0.577 0.161 39.5)
颜色转换
- HEX
- #c54f22
- RGB
- rgb(197 79 34)
- HSL
- hsl(17 71% 45%)
- HWB
- hwb(17 13% 23%)
- OKLCH
- oklch(0.577 0.161 39.5)
- OKLab
- oklab(0.577 0.124 0.103)
- CIE Lab
- lab(49.65 46.5 49.38)
- LCH
- lch(49.65 67.83 46.7)
- CMYK
- cmyk(0% 60% 83% 23%)
浅色调 · 深色调 · 灰色调
浅色调
- CD623D
- D47554
- DB8669
- E2987E
- E8A994
- EEBAA9
- F3CBBE
- F7DCD3
- FBEEE9
深色调
- AB441C
- 923816
- 792E11
- 61230B
- 4B1907
- 351003
- 210701
- 0E0200
- 020000
灰色调
- BF5630
- B95C3C
- B36246
- AD674F
- A66C58
- 9F7161
- 987569
- 917971
- 897C78
配色和谐
互补色 +180°
- C54F22
Red Panda
- 0087A4
≈ Caribbean Sea
类似色 -30° +30°
- C54F22
Red Panda
- C54764
≈ Royal Banner
- A86A00
≈ Butter Fudge
三角配色 +120° +240°
- C54F22
Red Panda
- 00905D
≈ Emerald Lake
- 696AD6
≈ C64 Purple
分裂互补色 +150° +210°
- C54F22
Red Panda
- 008C86
≈ Greenish Blue
- 007CD4
≈ Electron Blue
四角配色 +90° +180° +270°
- C54F22
Red Panda
- 5B8A00
≈ Sap Green
- 0087A4
≈ Caribbean Sea
- 9659C0
≈ Liberal Lilac
对比度与无障碍
Ag
AA白底
WCAG 4.65:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.51:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.65:1 (AA) · APCA Lc 71
Contrast pairs
代码片段
CSS
:root {
--red-panda: #c54f22;
--red-panda-rgb: 197 79 34;
--red-panda-oklch: oklch(0.577 0.161 39.5);
}
.element {
color: var(--red-panda);
background-color: hsl(17 71% 45%);
border-color: oklch(0.577 0.161 39.5);
}Tailwind CSS v4
@theme {
--color-red-panda: #c54f22;
--color-red-panda-50: #ffe7d2;
--color-red-panda-100: #ffd7be;
--color-red-panda-200: #ffbd9e;
--color-red-panda-300: #fd9a74;
--color-red-panda-400: #ec7950;
--color-red-panda-500: #da5622;
--color-red-panda-600: #b84a20;
--color-red-panda-700: #943b19;
--color-red-panda-800: #6f2913;
--color-red-panda-900: #4e1c0c;
--color-red-panda-950: #340b01;
}SCSS
$red-panda: #c54f22;
$red-panda-rgb: 197, 79, 34;
$red-panda-light: mix(#fff, $red-panda, 20%);
$red-panda-dark: mix(#000, $red-panda, 20%);
.element {
color: $red-panda;
box-shadow: 0 0 0 2px rgba($red-panda, 0.35);
}