Nearest named color · #BA7F6B
#BA7F6B
Nearest named color: Earthworm
#BA7F6B (rgb(186 127 107), hsl(15 36% 57%), oklch(0.651 0.08 39.5)) is closest to the named color Earthworm. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#BA7F6B
oklch(0.651 0.08 39.5)
Color conversions
- HEX
- #ba7f6b
- RGB
- rgb(186 127 107)
- HSL
- hsl(15 36% 57%)
- HWB
- hwb(15 42% 27%)
- OKLCH
- oklch(0.651 0.08 39.5)
- OKLab
- oklab(0.651 0.061 0.051)
- CIE Lab
- lab(59 21.75 20.62)
- LCH
- lch(59 29.98 43.5)
- CMYK
- cmyk(0% 32% 42% 27%)
Tints · Shades · Tones
Tints
- C18B79
- C99887
- D0A496
- D7B1A4
- DEBEB3
- E5CBC2
- EBD8D1
- F2E5E0
- F9F2F0
Shades
- A16E5C
- 895D4E
- 724C3F
- 5C3C32
- 462D25
- 321F18
- 1E110D
- 0D0604
- 020100
Tones
- B47F6D
- AF8070
- A98072
- A48074
- 9E8076
- 988078
- 92807A
- 8C807C
- 86807E
Color harmonies
Complementary +180°
- BA7F6B
Earthworm
- 529BB1
≈ Starflower Blue
Analogous -30° +30°
- BA7F6B
Earthworm
- BA7B85
≈ Fiesta Rojo
- AF8759
≈ Autumn
Triadic +120° +240°
- BA7F6B
Earthworm
- 639F7E
≈ Sea Lettuce
- 858BC0
≈ Pleated Mauve
Split-complementary +150° +210°
- BA7F6B
Earthworm
- 4F9F9A
≈ Tourmaline Turquoise
- 6994BF
≈ Blue Marble
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 3.31:1 · APCA Lc 60
Ag
AAOn black
WCAG 6.33:1 · APCA Lc 41
Best text color: #000000
WCAG 6.33:1 (AA) · APCA Lc 41
Contrast pairs
Code snippets
CSS
:root {
--earthworm: #ba7f6b;
--earthworm-rgb: 186 127 107;
--earthworm-oklch: oklch(0.651 0.08 39.5);
}
.element {
color: var(--earthworm);
background-color: hsl(15 36% 57%);
border-color: oklch(0.651 0.08 39.5);
}Tailwind CSS v4
@theme {
--color-earthworm: #ba7f6b;
--color-earthworm-50: #ffeee4;
--color-earthworm-100: #ffe0d4;
--color-earthworm-200: #f3caba;
--color-earthworm-300: #dcab98;
--color-earthworm-400: #c88f7b;
--color-earthworm-500: #b4745e;
--color-earthworm-600: #986250;
--color-earthworm-700: #7a4e40;
--color-earthworm-800: #5a382e;
--color-earthworm-900: #3f271f;
--color-earthworm-950: #28150f;
}SCSS
$earthworm: #ba7f6b;
$earthworm-rgb: 186, 127, 107;
$earthworm-light: mix(#fff, $earthworm, 20%);
$earthworm-dark: mix(#000, $earthworm, 20%);
.element {
color: $earthworm;
box-shadow: 0 0 0 2px rgba($earthworm, 0.35);
}