Color con nombre más cercano · #1F1422
#1F1422
Color con nombre más cercano: Shot in the Dark
#1F1422 (rgb(31 20 34), hsl(287 26% 11%), oklch(0.212 0.031 318.9)) se parece más al color con nombre Shot in the Dark. Mira tintes, sombras, armonías, contraste WCAG y APCA, y código CSS, Tailwind v4 y SCSS.
#1F1422
oklch(0.212 0.031 318.9)
Conversiones de color
- HEX
- #1f1422
- RGB
- rgb(31 20 34)
- HSL
- hsl(287 26% 11%)
- HWB
- hwb(287 8% 87%)
- OKLCH
- oklch(0.212 0.031 318.9)
- OKLab
- oklab(0.212 0.024 -0.021)
- CIE Lab
- lab(8.16 8.28 -7.56)
- LCH
- lch(8.16 11.21 317.6)
- CMYK
- cmyk(9% 41% 0% 87%)
Tintes · Sombras · Tonos
Tintes
- 322735
- 463C48
- 5A515D
- 706872
- 867F88
- 9D979F
- B5B0B6
- CDCACE
- E6E4E6
Sombras
- 19101C
- 140C16
- 0F0811
- 0A050B
- 060307
- 030103
- 010101
- 000000
- 000000
Tonos
- 281D2B
- 312733
- 3A313C
- 433C45
- 4D474F
- 575258
- 615D62
- 6B686C
- 757476
Armonías de color
Complementario +180°
- 1F1422
Shot in the Dark
- 111C0E
≈ Pinch of Pepper
Análogo -30° +30°
- 1F1422
Shot in the Dark
- 181626
≈ Sambucus
- 24131B
≈ Bats Cloak
Triádico +120° +240°
- 1F1422
Shot in the Dark
- 211707
≈ Noir Mystique
- 041D1E
≈ Black Stallion
Complementario dividido +150° +210°
- 1F1422
Shot in the Dark
- 1A1A08
≈ Noir Mystique
- 081D16
≈ Pinch of Pepper
Tetrádico +90° +180° +270°
- 1F1422
Shot in the Dark
- 25140B
≈ Used Oil
- 111C0E
≈ Pinch of Pepper
- 071B24
≈ Creeping Death
Contraste y accesibilidad
Ag
AAASobre blanco
WCAG 17.77:1 · APCA Lc 105
Ag
FailSobre negro
WCAG 1.18:1 · APCA Lc 0
Mejor color de texto: #FFFFFF
WCAG 17.77:1 (AAA) · APCA Lc 105
Contrast pairs
Fragmentos de código
CSS
:root {
--shot-in-the-dark: #1f1422;
--shot-in-the-dark-rgb: 31 20 34;
--shot-in-the-dark-oklch: oklch(0.212 0.031 318.9);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(287 26% 11%);
border-color: oklch(0.212 0.031 318.9);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1f1422;
--color-shot-in-the-dark-50: #f9f2fb;
--color-shot-in-the-dark-100: #ede5ee;
--color-shot-in-the-dark-200: #dbd0dd;
--color-shot-in-the-dark-300: #bfb2c1;
--color-shot-in-the-dark-400: #a799ab;
--color-shot-in-the-dark-500: #8f8094;
--color-shot-in-the-dark-600: #796c7d;
--color-shot-in-the-dark-700: #615764;
--color-shot-in-the-dark-800: #473f4a;
--color-shot-in-the-dark-900: #312b33;
--color-shot-in-the-dark-950: #1d191f;
}SCSS
$shot-in-the-dark: #1f1422;
$shot-in-the-dark-rgb: 31, 20, 34;
$shot-in-the-dark-light: mix(#fff, $shot-in-the-dark, 20%);
$shot-in-the-dark-dark: mix(#000, $shot-in-the-dark, 20%);
.element {
color: $shot-in-the-dark;
box-shadow: 0 0 0 2px rgba($shot-in-the-dark, 0.35);
}