Nearest named color · #A86645
#A86645
Nearest named color: Mars
#A86645 (rgb(168 102 69), hsl(20 42% 46%), oklch(0.576 0.097 46.8)) is closest to the named color Mars. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A86645
oklch(0.576 0.097 46.8)
Color conversions
- HEX
- #a86645
- RGB
- rgb(168 102 69)
- HSL
- hsl(20 42% 46%)
- HWB
- hwb(20 27% 34%)
- OKLCH
- oklch(0.576 0.097 46.8)
- OKLab
- oklab(0.576 0.067 0.071)
- CIE Lab
- lab(50.21 24.88 30.29)
- LCH
- lch(50.21 39.2 50.6)
- CMYK
- cmyk(0% 39% 59% 34%)
Tints · Shades · Tones
Tints
- B17557
- BB8469
- C4937B
- CDA28D
- D5B1A0
- DEC0B2
- E6D0C5
- EFDFD8
- F7EFEC
Shades
- 92583B
- 7C4A31
- 673C27
- 522F1E
- 3F2315
- 2C170C
- 1A0C05
- 0A0402
- 010000
Tones
- A5694C
- A16C52
- 9D6F58
- 9A725E
- 967464
- 92776A
- 8E7970
- 897B75
- 857E7B
Color harmonies
Complementary +180°
- A86645
Mars
- 2884A5
≈ Blue Paisley
Analogous -30° +30°
- A86645
Mars
- AB6065
≈ Redbud
- 99712E
≈ Buttered Rum
Triadic +120° +240°
- A86645
Mars
- 328B6D
≈ Elf
- 7570B0
≈ Clear Mauve
Split-complementary +150° +210°
- A86645
Mars
- 048A8D
≈ India Blue
- 527BB2
≈ Endless River
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 31
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--mars: #a86645;
--mars-rgb: 168 102 69;
--mars-oklch: oklch(0.576 0.097 46.8);
}
.element {
color: var(--mars);
background-color: hsl(20 42% 46%);
border-color: oklch(0.576 0.097 46.8);
}Tailwind CSS v4
@theme {
--color-mars: #a86645;
--color-mars-50: #ffeedd;
--color-mars-100: #ffdfcc;
--color-mars-200: #f8c9b0;
--color-mars-300: #e1a98c;
--color-mars-400: #ce8c6c;
--color-mars-500: #bb714b;
--color-mars-600: #9e6041;
--color-mars-700: #7f4c33;
--color-mars-800: #5e3725;
--color-mars-900: #422519;
--color-mars-950: #2a1409;
}SCSS
$mars: #a86645;
$mars-rgb: 168, 102, 69;
$mars-light: mix(#fff, $mars, 20%);
$mars-dark: mix(#000, $mars, 20%);
.element {
color: $mars;
box-shadow: 0 0 0 2px rgba($mars, 0.35);
}