最接近的命名颜色 · #D8111F
#D8111F
最接近的命名颜色: Piercing Red
#D8111F(rgb(216 17 31)、hsl(356 85% 46%)、oklch(0.56 0.222 26.6))最接近命名颜色 Piercing Red。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D8111F
oklch(0.56 0.222 26.6)
颜色转换
- HEX
- #d8111f
- RGB
- rgb(216 17 31)
- HSL
- hsl(356 85% 46%)
- HWB
- hwb(356 7% 15%)
- OKLCH
- oklch(0.56 0.222 26.6)
- OKLab
- oklab(0.56 0.198 0.099)
- CIE Lab
- lab(46.66 70.04 50.26)
- LCH
- lch(46.66 86.21 35.7)
- CMYK
- cmyk(0% 92% 86% 15%)
浅色调 · 深色调 · 灰色调
浅色调
- E03E3A
- E65951
- EC7166
- F2867C
- F69B91
- FAAFA7
- FDC4BD
- FED7D2
- FFEBE9
深色调
- BC0D19
- A00914
- 85060F
- 6B040A
- 530206
- 3B0103
- 250001
- 110000
- 020000
灰色调
- D12E2D
- CA3E39
- C24B44
- BB554D
- B25E56
- AA665F
- A16D68
- 977470
- 8C7A78
配色和谐
互补色 +180°
- D8111F
Piercing Red
- 008490
≈ True Teal
类似色 -30° +30°
- D8111F
Piercing Red
- CE1277
≈ Crazy Ex
- AE5B00
≈ Elm Brown Red
三角配色 +120° +240°
- D8111F
Piercing Red
- 008D2F
≈ North Texas Green
- 3963F4
≈ Secret of Mana
分裂互补色 +150° +210°
- D8111F
Piercing Red
- 008873
≈ Industrial Turquoise
- 007DB2
≈ Capstan
四角配色 +90° +180° +270°
- D8111F
Piercing Red
- 707D00
≈ Flag Green
- 008490
≈ True Teal
- 8548E3
≈ Gloomy Purple
对比度与无障碍
Ag
AA白底
WCAG 5.22:1 · APCA Lc 73
Ag
Fail黑底
WCAG 4.01:1 · APCA Lc 28
最佳文字颜色: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 73
Contrast pairs
代码片段
CSS
:root {
--piercing-red: #d8111f;
--piercing-red-rgb: 216 17 31;
--piercing-red-oklch: oklch(0.56 0.222 26.6);
}
.element {
color: var(--piercing-red);
background-color: hsl(356 85% 46%);
border-color: oklch(0.56 0.222 26.6);
}Tailwind CSS v4
@theme {
--color-piercing-red: #d8111f;
--color-piercing-red-50: #ffded1;
--color-piercing-red-100: #ffccbe;
--color-piercing-red-200: #ffae9e;
--color-piercing-red-300: #ff8574;
--color-piercing-red-400: #ff5a52;
--color-piercing-red-500: #f71926;
--color-piercing-red-600: #d01c23;
--color-piercing-red-700: #a8181c;
--color-piercing-red-800: #7e0d16;
--color-piercing-red-900: #59090e;
--color-piercing-red-950: #3c0003;
}SCSS
$piercing-red: #d8111f;
$piercing-red-rgb: 216, 17, 31;
$piercing-red-light: mix(#fff, $piercing-red, 20%);
$piercing-red-dark: mix(#000, $piercing-red, 20%);
.element {
color: $piercing-red;
box-shadow: 0 0 0 2px rgba($piercing-red, 0.35);
}