Nearest named color · #281315
#281315
Nearest named color: Italian Roast
#281315 (rgb(40 19 21), hsl(354 36% 12%), oklch(0.218 0.035 14.3)) is closest to the named color Italian Roast. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#281315
oklch(0.218 0.035 14.3)
Color conversions
- HEX
- #281315
- RGB
- rgb(40 19 21)
- HSL
- hsl(354 36% 12%)
- HWB
- hwb(354 7% 84%)
- OKLCH
- oklch(0.218 0.035 14.3)
- OKLab
- oklab(0.218 0.034 0.009)
- CIE Lab
- lab(8.86 11.33 3.42)
- LCH
- lch(8.86 11.84 16.8)
- CMYK
- cmyk(0% 53% 47% 84%)
Tints · Shades · Tones
Tints
- 3B2628
- 4F3B3C
- 635152
- 786768
- 8D7F7F
- A39798
- B9B0B1
- D0CACA
- E7E4E4
Shades
- 210F11
- 1B0B0C
- 150708
- 0F0505
- 090303
- 040102
- 020101
- 010000
- 000000
Tones
- 311D1E
- 392728
- 423132
- 4A3C3C
- 534647
- 5C5152
- 655D5D
- 6E6869
- 777474
Color harmonies
Complementary +180°
- 281315
Italian Roast
- 021F1F
≈ Stellar Explorer
Analogous -30° +30°
- 281315
Italian Roast
- 25131E
≈ Inside
- 27150C
≈ Used Oil
Triadic +120° +240°
- 281315
Italian Roast
- 131E0D
≈ Nightmare
- 0E1B2A
≈ Trapped Darkness
Split-complementary +150° +210°
- 281315
Italian Roast
- 081F16
≈ Clock Chimes Thirteen
- 051D26
≈ Oxford by Night
Tetradic +90° +180° +270°
- 281315
Italian Roast
- 1D1B06
≈ Noir Mystique
- 021F1F
≈ Stellar Explorer
- 18182A
≈ Sambucus
Contrast & accessibility
Ag
AAAOn white
WCAG 17.58:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.19:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.58:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--italian-roast: #281315;
--italian-roast-rgb: 40 19 21;
--italian-roast-oklch: oklch(0.218 0.035 14.3);
}
.element {
color: var(--italian-roast);
background-color: hsl(354 36% 12%);
border-color: oklch(0.218 0.035 14.3);
}Tailwind CSS v4
@theme {
--color-italian-roast: #281315;
--color-italian-roast-50: #fff1f2;
--color-italian-roast-100: #f3e3e4;
--color-italian-roast-200: #e3cfcf;
--color-italian-roast-300: #c9b1b1;
--color-italian-roast-400: #b29698;
--color-italian-roast-500: #9c7d7f;
--color-italian-roast-600: #846a6c;
--color-italian-roast-700: #6a5556;
--color-italian-roast-800: #4e3e3f;
--color-italian-roast-900: #362a2b;
--color-italian-roast-950: #211819;
}SCSS
$italian-roast: #281315;
$italian-roast-rgb: 40, 19, 21;
$italian-roast-light: mix(#fff, $italian-roast, 20%);
$italian-roast-dark: mix(#000, $italian-roast, 20%);
.element {
color: $italian-roast;
box-shadow: 0 0 0 2px rgba($italian-roast, 0.35);
}