Nearest named color · #1B0602
#1B0602
Nearest named color: Dwarf Fortress
#1B0602 (rgb(27 6 2), hsl(10 86% 6%), oklch(0.159 0.041 38.4)) is closest to the named color Dwarf Fortress. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1B0602
oklch(0.159 0.041 38.4)
Color conversions
- HEX
- #1b0602
- RGB
- rgb(27 6 2)
- HSL
- hsl(10 86% 6%)
- HWB
- hwb(10 1% 89%)
- OKLCH
- oklch(0.159 0.041 38.4)
- OKLab
- oklab(0.159 0.032 0.025)
- CIE Lab
- lab(3.42 7.76 4.45)
- LCH
- lch(3.42 8.94 29.8)
- CMYK
- cmyk(0% 78% 93% 89%)
Tints · Shades · Tones
Tints
- 2F1A13
- 442F28
- 59463F
- 6F5D58
- 867671
- 9D908C
- B5ABA8
- CDC6C4
- E6E2E1
Shades
- 160401
- 110301
- 0C0201
- 080100
- 050100
- 020000
- 010000
- 000000
- 000000
Tones
- 25100A
- 2E1B15
- 382721
- 42332E
- 4C3F3A
- 564B48
- 615855
- 6B6563
- 757271
Color harmonies
Complementary +180°
- 1B0602
Dwarf Fortress
- 001015
≈ Black Glaze
Analogous -30° +30°
- 1B0602
Dwarf Fortress
- 1B0509
≈ Noir Fiction
- 160A00
≈ Soy Sauce
Triadic +120° +240°
- 1B0602
Dwarf Fortress
- 001207
≈ Jedi Night
- 090A1E
≈ Tristesse
Split-complementary +150° +210°
- 1B0602
Dwarf Fortress
- 00110F
≈ Black Glaze
- 010E1D
≈ Kuretake Black Manga
Tetradic +90° +180° +270°
- 1B0602
Dwarf Fortress
- 081000
≈ Memorial Black
- 001015
≈ Black Glaze
- 12081A
≈ Tristesse
Contrast & accessibility
Ag
AAAOn white
WCAG 19.56:1 · APCA Lc 106
Ag
FailOn black
WCAG 1.07:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 19.56:1 (AAA) · APCA Lc 106
Contrast pairs
Code snippets
CSS
:root {
--dwarf-fortress: #1b0602;
--dwarf-fortress-rgb: 27 6 2;
--dwarf-fortress-oklch: oklch(0.159 0.041 38.4);
}
.element {
color: var(--dwarf-fortress);
background-color: hsl(10 86% 6%);
border-color: oklch(0.159 0.041 38.4);
}Tailwind CSS v4
@theme {
--color-dwarf-fortress: #1b0602;
--color-dwarf-fortress-50: #fff2ec;
--color-dwarf-fortress-100: #f5e4de;
--color-dwarf-fortress-200: #e5cfc7;
--color-dwarf-fortress-300: #cbb1a8;
--color-dwarf-fortress-400: #b5978d;
--color-dwarf-fortress-500: #9f7d73;
--color-dwarf-fortress-600: #866a61;
--color-dwarf-fortress-700: #6c554e;
--color-dwarf-fortress-800: #4f3e39;
--color-dwarf-fortress-900: #372a27;
--color-dwarf-fortress-950: #221815;
}SCSS
$dwarf-fortress: #1b0602;
$dwarf-fortress-rgb: 27, 6, 2;
$dwarf-fortress-light: mix(#fff, $dwarf-fortress, 20%);
$dwarf-fortress-dark: mix(#000, $dwarf-fortress, 20%);
.element {
color: $dwarf-fortress;
box-shadow: 0 0 0 2px rgba($dwarf-fortress, 0.35);
}