最接近的命名颜色 · #D22401
#D22401
最接近的命名颜色: Piment Piquant
#D22401(rgb(210 36 1)、hsl(10 99% 41%)、oklch(0.556 0.21 31.9))最接近命名颜色 Piment Piquant。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D22401
oklch(0.556 0.21 31.9)
颜色转换
- HEX
- #d22401
- RGB
- rgb(210 36 1)
- HSL
- hsl(10 99% 41%)
- HWB
- hwb(10 0% 18%)
- OKLCH
- oklch(0.556 0.21 31.9)
- OKLab
- oklab(0.556 0.179 0.111)
- CIE Lab
- lab(46.45 64.98 60.39)
- LCH
- lch(46.45 88.71 42.9)
- CMYK
- cmyk(0% 83% 100% 18%)
浅色调 · 深色调 · 灰色调
浅色调
- DA452D
- E15E47
- E7745F
- ED8976
- F29D8C
- F6B1A3
- FAC5BA
- FCD8D0
- FEECE8
深色调
- B61E01
- 9B1801
- 811200
- 680C00
- 500700
- 390400
- 240200
- 100000
- 020000
灰色调
- CC371F
- C5442F
- BE4F3C
- B75847
- AF6051
- A7685B
- 9E6F65
- 95756E
- 8B7B77
配色和谐
互补色 +180°
- D22401
Piment Piquant
- 008294
≈ Craftsman Blue
类似色 -30° +30°
- D22401
Piment Piquant
- CC1C6A
≈ Xīpe Totēc Red
- A75F00
≈ Raw Umber
三角配色 +120° +240°
- D22401
Piment Piquant
- 008A45
≈ The Wild Apothecary
- 4D5FEB
≈ Aquarius Mood Indigo
分裂互补色 +150° +210°
- D22401
Piment Piquant
- 008677
≈ Mystic Turquoise
- 007AB9
≈ Star Command Blue
四角配色 +90° +180° +270°
- D22401
Piment Piquant
- 677F00
≈ Jungle Vibes
- 008294
≈ Craftsman Blue
- 8C47D7
≈ Gloomy Purple
对比度与无障碍
Ag
AA白底
WCAG 5.25:1 · APCA Lc 74
Ag
Fail黑底
WCAG 3.99:1 · APCA Lc 28
最佳文字颜色: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 74
Contrast pairs
代码片段
CSS
:root {
--piment-piquant: #d22401;
--piment-piquant-rgb: 210 36 1;
--piment-piquant-oklch: oklch(0.556 0.21 31.9);
}
.element {
color: var(--piment-piquant);
background-color: hsl(10 99% 41%);
border-color: oklch(0.556 0.21 31.9);
}Tailwind CSS v4
@theme {
--color-piment-piquant: #d22401;
--color-piment-piquant-50: #ffe0ce;
--color-piment-piquant-100: #ffcfba;
--color-piment-piquant-200: #ffb298;
--color-piment-piquant-300: #ff8a6c;
--color-piment-piquant-400: #ff6247;
--color-piment-piquant-500: #f22f09;
--color-piment-piquant-600: #cc2b0f;
--color-piment-piquant-700: #a4230d;
--color-piment-piquant-800: #7b160d;
--color-piment-piquant-900: #570f08;
--color-piment-piquant-950: #3a0100;
}SCSS
$piment-piquant: #d22401;
$piment-piquant-rgb: 210, 36, 1;
$piment-piquant-light: mix(#fff, $piment-piquant, 20%);
$piment-piquant-dark: mix(#000, $piment-piquant, 20%);
.element {
color: $piment-piquant;
box-shadow: 0 0 0 2px rgba($piment-piquant, 0.35);
}