Couleur nommée la plus proche · #8F2F4F
#8F2F4F
Couleur nommée la plus proche: Raspberry Romantic
#8F2F4F (rgb(143 47 79), hsl(340 51% 37%), oklch(0.456 0.132 3.5)) est la plus proche de la couleur nommée Raspberry Romantic. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#8F2F4F
oklch(0.456 0.132 3.5)
Conversions de couleur
- HEX
- #8f2f4f
- RGB
- rgb(143 47 79)
- HSL
- hsl(340 51% 37%)
- HWB
- hwb(340 18% 44%)
- OKLCH
- oklch(0.456 0.132 3.5)
- OKLab
- oklab(0.456 0.132 0.008)
- CIE Lab
- lab(35.25 43.08 3.77)
- LCH
- lch(35.25 43.25 5)
- CMYK
- cmyk(0% 67% 45% 44%)
Teintes · Ombres · Tons
Teintes
- 9C455F
- A8596F
- B56E80
- C08291
- CC96A3
- D7ABB4
- E1BFC7
- EBD4D9
- F5EAEC
Ombres
- 7C2744
- 692038
- 57192E
- 451223
- 340C19
- 240610
- 150307
- 070102
- 010000
Tons
- 8F3954
- 8F4258
- 8E4B5D
- 8D5362
- 8C5B67
- 8A636C
- 886A71
- 867176
- 83797B
Harmonies de couleurs
Complémentaire +180°
- 8F2F4F
Raspberry Romantic
- 00655B
≈ Arizona Stone
Analogue -30° +30°
- 8F2F4F
Raspberry Romantic
- 803575
≈ Veronica Purple
- 92331F
≈ Bengara Red
Triadique +120° +240°
- 8F2F4F
Raspberry Romantic
- 4B6000
≈ Camouflage Green
- 005C8F
≈ Buccaneer Blue
Complémentaire divisée +150° +210°
- 8F2F4F
Raspberry Romantic
- 006936
≈ Universal Green
- 006272
≈ Blue Lagoon
Tétradique +90° +180° +270°
- 8F2F4F
Raspberry Romantic
- 685500
≈ Ayahuasca Vine
- 00655B
≈ Arizona Stone
- 414D9F
≈ Dazzling Blue
Contraste et accessibilité
Ag
AAASur blanc
WCAG 7.81:1 · APCA Lc 86
Ag
FailSur noir
WCAG 2.68:1 · APCA Lc 16
Meilleure couleur de texte: #FFFFFF
WCAG 7.81:1 (AAA) · APCA Lc 86
Contrast pairs
Extraits de code
CSS
:root {
--raspberry-romantic: #8f2f4f;
--raspberry-romantic-rgb: 143 47 79;
--raspberry-romantic-oklch: oklch(0.456 0.132 3.5);
}
.element {
color: var(--raspberry-romantic);
background-color: hsl(340 51% 37%);
border-color: oklch(0.456 0.132 3.5);
}Tailwind CSS v4
@theme {
--color-raspberry-romantic: #8f2f4f;
--color-raspberry-romantic-50: #ffe6f0;
--color-raspberry-romantic-100: #ffd6e1;
--color-raspberry-romantic-200: #ffbdcc;
--color-raspberry-romantic-300: #f19bae;
--color-raspberry-romantic-400: #de7b96;
--color-raspberry-romantic-500: #cb5b7d;
--color-raspberry-romantic-600: #ac4e6a;
--color-raspberry-romantic-700: #8a3e54;
--color-raspberry-romantic-800: #662c3f;
--color-raspberry-romantic-900: #481e2b;
--color-raspberry-romantic-950: #2f0d19;
}SCSS
$raspberry-romantic: #8f2f4f;
$raspberry-romantic-rgb: 143, 47, 79;
$raspberry-romantic-light: mix(#fff, $raspberry-romantic, 20%);
$raspberry-romantic-dark: mix(#000, $raspberry-romantic, 20%);
.element {
color: $raspberry-romantic;
box-shadow: 0 0 0 2px rgba($raspberry-romantic, 0.35);
}