Nearest named color · #AF5F3D
#AF5F3D
Nearest named color: Mars
#AF5F3D (rgb(175 95 61), hsl(18 48% 46%), oklch(0.572 0.115 43.1)) is closest to the named color Mars. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#AF5F3D
oklch(0.572 0.115 43.1)
Color conversions
- HEX
- #af5f3d
- RGB
- rgb(175 95 61)
- HSL
- hsl(18 48% 46%)
- HWB
- hwb(18 24% 31%)
- OKLCH
- oklch(0.572 0.115 43.1)
- OKLab
- oklab(0.572 0.084 0.078)
- CIE Lab
- lab(49.53 31.06 34.21)
- LCH
- lch(49.53 46.21 47.8)
- CMYK
- cmyk(0% 46% 65% 31%)
Tints · Shades · Tones
Tints
- B86F50
- C17F63
- CA8E76
- D29E89
- DAAE9C
- E2BEB0
- E9CEC3
- F1DED7
- F8EFEB
Shades
- 985234
- 81442B
- 6B3822
- 562C1A
- 412012
- 2E150A
- 1C0A04
- 0B0301
- 010000
Tones
- AB6345
- A7674C
- A36A53
- 9E6E5A
- 9A7161
- 957467
- 90786E
- 8B7A74
- 867D7A
Color harmonies
Complementary +180°
- AF5F3D
Mars
- 0085A5
≈ Azores Blue
Analogous -30° +30°
Triadic +120° +240°
Split-complementary +150° +210°
- AF5F3D
Mars
- 008A88
≈ Navigate
- 437AB9
≈ Ashton Blue
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.63:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.52:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--mars: #af5f3d;
--mars-rgb: 175 95 61;
--mars-oklch: oklch(0.572 0.115 43.1);
}
.element {
color: var(--mars);
background-color: hsl(18 48% 46%);
border-color: oklch(0.572 0.115 43.1);
}Tailwind CSS v4
@theme {
--color-mars: #af5f3d;
--color-mars-50: #ffecdb;
--color-mars-100: #ffddc9;
--color-mars-200: #ffc6ac;
--color-mars-300: #e9a586;
--color-mars-400: #d78766;
--color-mars-500: #c46a44;
--color-mars-600: #a55a3a;
--color-mars-700: #85482e;
--color-mars-800: #633321;
--color-mars-900: #462316;
--color-mars-950: #2d1207;
}SCSS
$mars: #af5f3d;
$mars-rgb: 175, 95, 61;
$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);
}