Nearest named color · #1A0F18
#1A0F18
Nearest named color: Noir Fiction
#1A0F18 (rgb(26 15 24), hsl(311 27% 8%), oklch(0.188 0.025 333.1)) is closest to the named color Noir Fiction. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1A0F18
oklch(0.188 0.025 333.1)
Color conversions
- HEX
- #1a0f18
- RGB
- rgb(26 15 24)
- HSL
- hsl(311 27% 8%)
- HWB
- hwb(311 6% 90%)
- OKLCH
- oklch(0.188 0.025 333.1)
- OKLab
- oklab(0.188 0.022 -0.011)
- CIE Lab
- lab(5.67 6.46 -3.68)
- LCH
- lch(5.67 7.43 330.3)
- CMYK
- cmyk(0% 42% 8% 90%)
Tints · Shades · Tones
Tints
- 2D222B
- 41373F
- 564D54
- 6C646A
- 837C82
- 9B9599
- B3AEB2
- CCC8CB
- E5E3E5
Shades
- 150B13
- 10080F
- 0C050A
- 070307
- 040204
- 020102
- 010001
- 000000
- 000000
Tones
- 231921
- 2D232B
- 362D34
- 40383F
- 4A4449
- 554F53
- 5F5B5E
- 6A6769
- 757375
Color harmonies
Complementary +180°
- 1A0F18
Noir Fiction
- 0A170E
≈ Pinch of Pepper
Analogous -30° +30°
- 1A0F18
Noir Fiction
- 15101C
≈ Corbeau
- 1D0E12
≈ Scandinavian Liquorice
Triadic +120° +240°
- 1A0F18
Noir Fiction
- 171306
≈ Crowshead
- 05161A
≈ Black Is Back
Split-complementary +150° +210°
- 1A0F18
Noir Fiction
- 111508
≈ Pinch of Pepper
- 051714
≈ Black Is Back
Tetradic +90° +180° +270°
- 1A0F18
Noir Fiction
- 1B1107
≈ Crowshead
- 0A170E
≈ Pinch of Pepper
- 09151E
≈ Midnight Edition
Contrast & accessibility
Ag
AAAOn white
WCAG 18.65:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.12:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 18.65:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--noir-fiction: #1a0f18;
--noir-fiction-rgb: 26 15 24;
--noir-fiction-oklch: oklch(0.188 0.025 333.1);
}
.element {
color: var(--noir-fiction);
background-color: hsl(311 27% 8%);
border-color: oklch(0.188 0.025 333.1);
}Tailwind CSS v4
@theme {
--color-noir-fiction: #1a0f18;
--color-noir-fiction-50: #faf3f8;
--color-noir-fiction-100: #ede5eb;
--color-noir-fiction-200: #dbd0d8;
--color-noir-fiction-300: #c0b3bc;
--color-noir-fiction-400: #a899a5;
--color-noir-fiction-500: #91808d;
--color-noir-fiction-600: #7a6d78;
--color-noir-fiction-700: #625760;
--color-noir-fiction-800: #483f46;
--color-noir-fiction-900: #322c31;
--color-noir-fiction-950: #1e191d;
}SCSS
$noir-fiction: #1a0f18;
$noir-fiction-rgb: 26, 15, 24;
$noir-fiction-light: mix(#fff, $noir-fiction, 20%);
$noir-fiction-dark: mix(#000, $noir-fiction, 20%);
.element {
color: $noir-fiction;
box-shadow: 0 0 0 2px rgba($noir-fiction, 0.35);
}