Nearest named color · #AA978E
#AA978E
Nearest named color: Earl Grey
#AA978E (rgb(170 151 142), hsl(19 14% 61%), oklch(0.691 0.026 47)) is closest to the named color Earl Grey. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#AA978E
oklch(0.691 0.026 47)
Color conversions
- HEX
- #aa978e
- RGB
- rgb(170 151 142)
- HSL
- hsl(19 14% 61%)
- HWB
- hwb(19 56% 33%)
- OKLCH
- oklch(0.691 0.026 47)
- OKLab
- oklab(0.691 0.018 0.019)
- CIE Lab
- lab(63.97 6.14 7.46)
- LCH
- lch(63.97 9.67 50.5)
- CMYK
- cmyk(0% 11% 16% 33%)
Tints · Shades · Tones
Tints
- B2A199
- BBABA4
- C3B5AF
- CBBFBA
- D4CAC5
- DCD4D0
- E5DFDC
- EEE9E8
- F6F4F3
Shades
- 93837B
- 7D6F68
- 685C56
- 534944
- 3F3734
- 2D2624
- 1B1715
- 0B0807
- 010101
Tones
- A6958D
- A2928B
- 9D908A
- 998E88
- 958B87
- 918986
- 8D8784
- 888583
- 848281
Color harmonies
Complementary +180°
- AA978E
Earl Grey
- 8B9FA8
≈ Symphony of Blue
Analogous -30° +30°
- AA978E
Earl Grey
- AB9596
≈ Sphinx
- A59A8A
≈ Warm Stone
Triadic +120° +240°
- AA978E
Earl Grey
- 8DA198
≈ Verdant Retreat
- 9A99AB
≈ Machinery
Split-complementary +150° +210°
- AA978E
Earl Grey
- 8AA1A1
≈ Aqua Smoke
- 919CAC
≈ Atom Blue
Tetradic +90° +180° +270°
- AA978E
Earl Grey
- 94A090
≈ Pewter
- 8B9FA8
≈ Symphony of Blue
- A297A7
≈ Windsor Haze
Contrast & accessibility
Ag
FailOn white
WCAG 2.79:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.52:1 · APCA Lc 48
Best text color: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--earl-grey: #aa978e;
--earl-grey-rgb: 170 151 142;
--earl-grey-oklch: oklch(0.691 0.026 47);
}
.element {
color: var(--earl-grey);
background-color: hsl(19 14% 61%);
border-color: oklch(0.691 0.026 47);
}Tailwind CSS v4
@theme {
--color-earl-grey: #aa978e;
--color-earl-grey-50: #fcf3ef;
--color-earl-grey-100: #f0e6e0;
--color-earl-grey-200: #ded1cb;
--color-earl-grey-300: #c3b4ac;
--color-earl-grey-400: #ac9a92;
--color-earl-grey-500: #968178;
--color-earl-grey-600: #7e6d65;
--color-earl-grey-700: #655751;
--color-earl-grey-800: #4b403b;
--color-earl-grey-900: #342c28;
--color-earl-grey-950: #1f1916;
}SCSS
$earl-grey: #aa978e;
$earl-grey-rgb: 170, 151, 142;
$earl-grey-light: mix(#fff, $earl-grey, 20%);
$earl-grey-dark: mix(#000, $earl-grey, 20%);
.element {
color: $earl-grey;
box-shadow: 0 0 0 2px rgba($earl-grey, 0.35);
}