Nearest named color · #AF4291
#AF4291
Nearest named color: Fandango
#AF4291 (rgb(175 66 145), hsl(317 45% 47%), oklch(0.554 0.168 340)) is closest to the named color Fandango. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#AF4291
oklch(0.554 0.168 340)
Color conversions
- HEX
- #af4291
- RGB
- rgb(175 66 145)
- HSL
- hsl(317 45% 47%)
- HWB
- hwb(317 26% 31%)
- OKLCH
- oklch(0.554 0.168 340)
- OKLab
- oklab(0.554 0.158 -0.057)
- CIE Lab
- lab(45.85 51.55 -20.79)
- LCH
- lch(45.85 55.58 338)
- CMYK
- cmyk(0% 62% 17% 31%)
Tints · Shades · Tones
Tints
- B9579C
- C26AA7
- CB7DB2
- D38FBC
- DBA2C7
- E3B4D2
- EBC7DD
- F2D9E9
- F9ECF4
Shades
- 98387D
- 812F6A
- 6B2558
- 561C46
- 411435
- 2E0B25
- 1C0515
- 0B0107
- 010001
Tones
- AB4A8F
- A8528E
- A4598C
- 9F5F8B
- 9B6589
- 966B87
- 917186
- 8C7684
- 867B82
Color harmonies
Complementary +180°
- AF4291
Fandango
- 008859
≈ Vital Green
Analogous -30° +30°
- AF4291
Fandango
- 9150BB
≈ Liberal Lilac
- BF3C5C
≈ Saffron Desires
Triadic +120° +240°
- AF4291
Fandango
- 837300
≈ Soft Fig
- 00809B
≈ Amazing Sky
Split-complementary +150° +210°
- AF4291
Fandango
- 558300
≈ Avocado
- 00847F
≈ Egyptian Green
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 5.23:1 · APCA Lc 75
Ag
FailOn black
WCAG 4.01:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 75
Contrast pairs
Code snippets
CSS
:root {
--fandango: #af4291;
--fandango-rgb: 175 66 145;
--fandango-oklch: oklch(0.554 0.168 340);
}
.element {
color: var(--fandango);
background-color: hsl(317 45% 47%);
border-color: oklch(0.554 0.168 340);
}Tailwind CSS v4
@theme {
--color-fandango: #af4291;
--color-fandango-50: #ffe3ff;
--color-fandango-100: #ffd2f8;
--color-fandango-200: #ffb8e8;
--color-fandango-300: #f294cf;
--color-fandango-400: #de73bd;
--color-fandango-500: #cb50a8;
--color-fandango-600: #ab448e;
--color-fandango-700: #8a3672;
--color-fandango-800: #652756;
--color-fandango-900: #471a3c;
--color-fandango-950: #2e0a26;
}SCSS
$fandango: #af4291;
$fandango-rgb: 175, 66, 145;
$fandango-light: mix(#fff, $fandango, 20%);
$fandango-dark: mix(#000, $fandango, 20%);
.element {
color: $fandango;
box-shadow: 0 0 0 2px rgba($fandango, 0.35);
}