Nearest named color · #870037
#870037
Nearest named color: Macabre
#870037 (rgb(135 0 55), hsl(336 100% 26%), oklch(0.399 0.16 7.9)) is closest to the named color Macabre. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#870037
oklch(0.399 0.16 7.9)
Color conversions
- HEX
- #870037
- RGB
- rgb(135 0 55)
- HSL
- hsl(336 100% 26%)
- HWB
- hwb(336 0% 47%)
- OKLCH
- oklch(0.399 0.16 7.9)
- OKLab
- oklab(0.399 0.158 0.022)
- CIE Lab
- lab(28.44 51.76 9.88)
- LCH
- lch(28.44 52.7 10.8)
- CMYK
- cmyk(0% 100% 59% 47%)
Tints · Shades · Tones
Tints
- 962A49
- A4445B
- B15C6E
- BE7381
- CA8A95
- D6A1A9
- E1B8BE
- EBCFD3
- F5E7E9
Shades
- 75002E
- 630026
- 51001E
- 410016
- 31000F
- 210008
- 130003
- 060001
- 010000
Tones
- 881C3E
- 892C45
- 8A394C
- 8A4453
- 8A4F5A
- 895962
- 886369
- 866D71
- 837778
Color harmonies
Complementary +180°
- 870037
Macabre
- 00534E
≈ Plankton Green
Analogous -30° +30°
- 870037
Macabre
- 791265
≈ Purple Curse
- 7E2400
≈ Mahogany Brown
Triadic +120° +240°
- 870037
Macabre
- 375100
≈ Navy Green
- 004A7E
≈ Kolibri Blue
Split-complementary +150° +210°
- 870037
Macabre
- 005633
≈ Permanent Green
- 005061
≈ Sandalwood Grey Blue
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 10.07:1 · APCA Lc 91
Ag
FailOn black
WCAG 2.08:1 · APCA Lc 11
Best text color: #FFFFFF
WCAG 10.07:1 (AAA) · APCA Lc 91
Contrast pairs
Code snippets
CSS
:root {
--macabre: #870037;
--macabre-rgb: 135 0 55;
--macabre-oklch: oklch(0.399 0.16 7.9);
}
.element {
color: var(--macabre);
background-color: hsl(336 100% 26%);
border-color: oklch(0.399 0.16 7.9);
}Tailwind CSS v4
@theme {
--color-macabre: #870037;
--color-macabre-50: #ffe3eb;
--color-macabre-100: #ffd2dc;
--color-macabre-200: #ffb8c5;
--color-macabre-300: #fd93a5;
--color-macabre-400: #eb728c;
--color-macabre-500: #d94d72;
--color-macabre-600: #b74361;
--color-macabre-700: #93354d;
--color-macabre-800: #6d253a;
--color-macabre-900: #4d1928;
--color-macabre-950: #330916;
}SCSS
$macabre: #870037;
$macabre-rgb: 135, 0, 55;
$macabre-light: mix(#fff, $macabre, 20%);
$macabre-dark: mix(#000, $macabre, 20%);
.element {
color: $macabre;
box-shadow: 0 0 0 2px rgba($macabre, 0.35);
}