Nearest named color · #D8334D
#D8334D
Nearest named color: Anarchist
#D8334D (rgb(216 51 77), hsl(351 68% 52%), oklch(0.584 0.2 17.8)) is closest to the named color Anarchist. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#D8334D
oklch(0.584 0.2 17.8)
Color conversions
- HEX
- #d8334d
- RGB
- rgb(216 51 77)
- HSL
- hsl(351 68% 52%)
- HWB
- hwb(351 20% 15%)
- OKLCH
- oklch(0.584 0.2 17.8)
- OKLab
- oklab(0.584 0.19 0.061)
- CIE Lab
- lab(49.62 64.33 27.06)
- LCH
- lch(49.62 69.79 22.8)
- CMYK
- cmyk(0% 76% 64% 15%)
Tints · Shades · Tones
Tints
- DF4E5E
- E5656F
- EB7A80
- F08E92
- F5A1A3
- F8B4B5
- FBC7C7
- FDDADA
- FFECEC
Shades
- BC2B42
- A02337
- 851C2C
- 6B1422
- 530D18
- 3B070F
- 250307
- 110102
- 020000
Tones
- D14153
- C94C58
- C2555D
- BA5D62
- B16467
- A96B6C
- A07171
- 967676
- 8B7B7B
Color harmonies
Complementary +180°
- D8334D
Anarchist
- 008D91
≈ Egyptian Teal
Analogous -30° +30°
- D8334D
Anarchist
- C93890
≈ Magenta Pink
- C45600
≈ Rust Orange
Triadic +120° +240°
- D8334D
Anarchist
- 3C9200
≈ Christmas Green
- 1976EE
≈ Blue Darknut
Split-complementary +150° +210°
- D8334D
Anarchist
- 00916E
≈ Sea Swell
- 0088B0
≈ Stomy Shower
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.66:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.50:1 · APCA Lc 31
Best text color: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 71
Contrast pairs
Code snippets
CSS
:root {
--anarchist: #d8334d;
--anarchist-rgb: 216 51 77;
--anarchist-oklch: oklch(0.584 0.2 17.8);
}
.element {
color: var(--anarchist);
background-color: hsl(351 68% 52%);
border-color: oklch(0.584 0.2 17.8);
}Tailwind CSS v4
@theme {
--color-anarchist: #d8334d;
--color-anarchist-50: #ffdfde;
--color-anarchist-100: #ffcdcd;
--color-anarchist-200: #ffb1b1;
--color-anarchist-300: #ff898d;
--color-anarchist-400: #fe6271;
--color-anarchist-500: #ed3152;
--color-anarchist-600: #c82d46;
--color-anarchist-700: #a12438;
--color-anarchist-800: #78182a;
--color-anarchist-900: #55101c;
--color-anarchist-950: #39010d;
}SCSS
$anarchist: #d8334d;
$anarchist-rgb: 216, 51, 77;
$anarchist-light: mix(#fff, $anarchist, 20%);
$anarchist-dark: mix(#000, $anarchist, 20%);
.element {
color: $anarchist;
box-shadow: 0 0 0 2px rgba($anarchist, 0.35);
}