Nearest named color · #D3397D
#D3397D
Nearest named color: Beetroot Purple
#D3397D (rgb(211 57 125), hsl(334 64% 53%), oklch(0.593 0.197 358.3)) is closest to the named color Beetroot Purple. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#D3397D
oklch(0.593 0.197 358.3)
Color conversions
- HEX
- #d3397d
- RGB
- rgb(211 57 125)
- HSL
- hsl(334 64% 53%)
- HWB
- hwb(334 22% 17%)
- OKLCH
- oklch(0.593 0.197 358.3)
- OKLab
- oklab(0.593 0.197 -0.006)
- CIE Lab
- lab(50.3 63.67 -1.33)
- LCH
- lch(50.3 63.68 358.8)
- CMYK
- cmyk(0% 73% 41% 17%)
Tints · Shades · Tones
Tints
- DA5289
- E16896
- E77CA2
- EC8FAF
- F1A2BC
- F5B5C9
- F9C7D6
- FCDAE4
- FEECF1
Shades
- B7306C
- 9C285B
- 821F4B
- 69173B
- 51102C
- 3A091E
- 240411
- 100105
- 020001
Tones
- CC457D
- C54F7E
- BE577E
- B65E7E
- AE657F
- A66B7F
- 9D717F
- 94767F
- 8B7B80
Color harmonies
Complementary +180°
- D3397D
Beetroot Purple
- 00937F
≈ Aqua Waters
Analogous -30° +30°
- D3397D
Beetroot Purple
- B947B8
≈ Ultraviolet Cryner
- DB3C32
≈ Poinciana
Triadic +120° +240°
- D3397D
Beetroot Purple
- 778800
≈ Elwynn Forest Olive
- 0087C3
≈ Azul Caribe
Split-complementary +150° +210°
- D3397D
Beetroot Purple
- 00983D
≈ Green Revolution
- 008F9E
≈ Coral Coast
Tetradic +90° +180° +270°
- D3397D
Beetroot Purple
- 9C7900
≈ Yellowish Brown
- 00937F
≈ Aqua Waters
- 4E71F2
≈ Blue Öyster Cult
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 70
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 32
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 32
Contrast pairs
Code snippets
CSS
:root {
--beetroot-purple: #d3397d;
--beetroot-purple-rgb: 211 57 125;
--beetroot-purple-oklch: oklch(0.593 0.197 358.3);
}
.element {
color: var(--beetroot-purple);
background-color: hsl(334 64% 53%);
border-color: oklch(0.593 0.197 358.3);
}Tailwind CSS v4
@theme {
--color-beetroot-purple: #d3397d;
--color-beetroot-purple-50: #ffdef2;
--color-beetroot-purple-100: #ffcde5;
--color-beetroot-purple-200: #ffb0d0;
--color-beetroot-purple-300: #ff89b3;
--color-beetroot-purple-400: #f5639d;
--color-beetroot-purple-500: #e43585;
--color-beetroot-purple-600: #c03070;
--color-beetroot-purple-700: #9b265a;
--color-beetroot-purple-800: #731a44;
--color-beetroot-purple-900: #51112f;
--color-beetroot-purple-950: #36031c;
}SCSS
$beetroot-purple: #d3397d;
$beetroot-purple-rgb: 211, 57, 125;
$beetroot-purple-light: mix(#fff, $beetroot-purple, 20%);
$beetroot-purple-dark: mix(#000, $beetroot-purple, 20%);
.element {
color: $beetroot-purple;
box-shadow: 0 0 0 2px rgba($beetroot-purple, 0.35);
}