最接近的命名颜色 · #CC2F33
#CC2F33
最接近的命名颜色: Smouldering Red
#CC2F33(rgb(204 47 51)、hsl(358 63% 49%)、oklch(0.556 0.193 25.1))最接近命名颜色 Smouldering Red。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#CC2F33
oklch(0.556 0.193 25.1)
颜色转换
- HEX
- #cc2f33
- RGB
- rgb(204 47 51)
- HSL
- hsl(358 63% 49%)
- HWB
- hwb(358 18% 20%)
- OKLCH
- oklch(0.556 0.193 25.1)
- OKLab
- oklab(0.556 0.175 0.082)
- CIE Lab
- lab(46.54 61.12 38.21)
- LCH
- lch(46.54 72.08 32)
- CMYK
- cmyk(0% 77% 75% 20%)
浅色调 · 深色调 · 灰色调
浅色调
- D44B48
- DC625C
- E37770
- E98B84
- EE9F98
- F3B2AC
- F7C5C0
- FBD8D5
- FDECEA
深色调
- B1272B
- 972023
- 7E191C
- 651214
- 4E0C0D
- 370607
- 220303
- 0F0101
- 020000
灰色调
- C63D3C
- C04845
- B9524D
- B35A55
- AC625C
- A46964
- 9C6F6B
- 937572
- 8A7B79
配色和谐
互补色 +180°
- CC2F33
Smouldering Red
- 00838E
≈ True Teal
类似色 -30° +30°
- CC2F33
Smouldering Red
- C22F79
≈ Pink Shadow
- AE5900
≈ Elm Brown Red
三角配色 +120° +240°
- CC2F33
Smouldering Red
- 008C24
≈ Tropical Forest Green
- 3A68E2
≈ Royal Blue
分裂互补色 +150° +210°
- CC2F33
Smouldering Red
- 008770
≈ Summer Turquoise
- 007DAE
≈ Neptune
四角配色 +90° +180° +270°
- CC2F33
Smouldering Red
- 727B00
≈ Flag Green
- 00838E
≈ True Teal
- 7F52D6
≈ Gloomy Purple
对比度与无障碍
Ag
AA白底
WCAG 5.22:1 · APCA Lc 74
Ag
Fail黑底
WCAG 4.02:1 · APCA Lc 27
最佳文字颜色: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 74
Contrast pairs
代码片段
CSS
:root {
--smouldering-red: #cc2f33;
--smouldering-red-rgb: 204 47 51;
--smouldering-red-oklch: oklch(0.556 0.193 25.1);
}
.element {
color: var(--smouldering-red);
background-color: hsl(358 63% 49%);
border-color: oklch(0.556 0.193 25.1);
}Tailwind CSS v4
@theme {
--color-smouldering-red: #cc2f33;
--color-smouldering-red-50: #ffe1d7;
--color-smouldering-red-100: #ffd0c5;
--color-smouldering-red-200: #ffb3a7;
--color-smouldering-red-300: #ff8d80;
--color-smouldering-red-400: #fc6761;
--color-smouldering-red-500: #eb3a3e;
--color-smouldering-red-600: #c63435;
--color-smouldering-red-700: #9f292a;
--color-smouldering-red-800: #771c20;
--color-smouldering-red-900: #541215;
--color-smouldering-red-950: #380307;
}SCSS
$smouldering-red: #cc2f33;
$smouldering-red-rgb: 204, 47, 51;
$smouldering-red-light: mix(#fff, $smouldering-red, 20%);
$smouldering-red-dark: mix(#000, $smouldering-red, 20%);
.element {
color: $smouldering-red;
box-shadow: 0 0 0 2px rgba($smouldering-red, 0.35);
}