Nearest named color · #281017
#281017
Nearest named color: Black Cherry
#281017 (rgb(40 16 23), hsl(343 43% 11%), oklch(0.212 0.041 2.6)) is closest to the named color Black Cherry. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#281017
oklch(0.212 0.041 2.6)
Color conversions
- HEX
- #281017
- RGB
- rgb(40 16 23)
- HSL
- hsl(343 43% 11%)
- HWB
- hwb(343 6% 84%)
- OKLCH
- oklch(0.212 0.041 2.6)
- OKLab
- oklab(0.212 0.041 0.002)
- CIE Lab
- lab(8.09 13.54 0.89)
- LCH
- lch(8.09 13.57 3.8)
- CMYK
- cmyk(0% 60% 42% 84%)
Tints · Shades · Tones
Tints
- 3B242A
- 4F383E
- 634E53
- 78656A
- 8D7D81
- A39699
- BAAFB1
- D0C9CB
- E7E4E5
Shades
- 210C12
- 1B090E
- 15060A
- 0F0406
- 090204
- 040102
- 020001
- 010000
- 000000
Tones
- 311A20
- 39242A
- 422F34
- 4B3A3E
- 534548
- 5C5053
- 655C5E
- 6E6869
- 777474
Color harmonies
Complementary +180°
- 281017
Black Cherry
- 001E1A
≈ Stellar Explorer
Analogous -30° +30°
- 281017
Black Cherry
- 241121
≈ Inside
- 29110C
≈ Root Brew
Triadic +120° +240°
- 281017
Black Cherry
- 151C05
≈ Pinch of Pepper
- 051B2A
≈ Oxford by Night
Split-complementary +150° +210°
- 281017
Black Cherry
- 081E0F
≈ Clock Chimes Thirteen
- 001D23
≈ Stellar Explorer
Tetradic +90° +180° +270°
- 281017
Black Cherry
- 1F1801
≈ Noir Mystique
- 001E1A
≈ Stellar Explorer
- 12172C
≈ Sambucus
Contrast & accessibility
Ag
AAAOn white
WCAG 17.84:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.84:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--black-cherry: #281017;
--black-cherry-rgb: 40 16 23;
--black-cherry-oklch: oklch(0.212 0.041 2.6);
}
.element {
color: var(--black-cherry);
background-color: hsl(343 43% 11%);
border-color: oklch(0.212 0.041 2.6);
}Tailwind CSS v4
@theme {
--color-black-cherry: #281017;
--color-black-cherry-50: #fff1f3;
--color-black-cherry-100: #f5e3e6;
--color-black-cherry-200: #e5cdd2;
--color-black-cherry-300: #cbafb5;
--color-black-cherry-400: #b4959c;
--color-black-cherry-500: #9e7b84;
--color-black-cherry-600: #86686f;
--color-black-cherry-700: #6b5359;
--color-black-cherry-800: #4f3d42;
--color-black-cherry-900: #372a2d;
--color-black-cherry-950: #22171a;
}SCSS
$black-cherry: #281017;
$black-cherry-rgb: 40, 16, 23;
$black-cherry-light: mix(#fff, $black-cherry, 20%);
$black-cherry-dark: mix(#000, $black-cherry, 20%);
.element {
color: $black-cherry;
box-shadow: 0 0 0 2px rgba($black-cherry, 0.35);
}