Nearest named color · #AF92AD
#AF92AD
Nearest named color: Metal Petal
#AF92AD (rgb(175 146 173), hsl(304 15% 63%), oklch(0.695 0.051 328.3)) is closest to the named color Metal Petal. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#AF92AD
oklch(0.695 0.051 328.3)
Color conversions
- HEX
- #af92ad
- RGB
- rgb(175 146 173)
- HSL
- hsl(304 15% 63%)
- HWB
- hwb(304 57% 31%)
- OKLCH
- oklch(0.695 0.051 328.3)
- OKLab
- oklab(0.695 0.043 -0.027)
- CIE Lab
- lab(63.9 14.78 -9.94)
- LCH
- lch(63.9 17.81 326.1)
- CMYK
- cmyk(0% 17% 1% 31%)
Tints · Shades · Tones
Tints
- B79CB5
- BFA7BD
- C7B2C5
- CFBCCD
- D7C7D5
- DFD2DE
- E7DDE6
- EFE8EE
- F7F4F7
Shades
- 987E96
- 816B7F
- 6B586A
- 564655
- 413541
- 2E252D
- 1C161B
- 0B080B
- 010101
Tones
- AA90A8
- A68EA4
- A18D9F
- 9C8B9B
- 978996
- 938792
- 8E868D
- 898489
- 858284
Color harmonies
Complementary +180°
- AF92AD
Metal Petal
- 88A68B
≈ Envy
Analogous -30° +30°
- AF92AD
Metal Petal
- A096B9
≈ Grape Gatsby
- B8909C
≈ Cherry Juice
Triadic +120° +240°
- AF92AD
Metal Petal
- AA9C79
≈ Brussels Sprouts
- 77A6AE
≈ Water Cooler
Split-complementary +150° +210°
- AF92AD
Metal Petal
- 99A27E
≈ French Parsley
- 7BA89D
≈ Scenario
Tetradic +90° +180° +270°
- AF92AD
Metal Petal
- B6967E
≈ Coffee Cake
- 88A68B
≈ Envy
- 80A2B9
≈ Hawaiian Sky
Contrast & accessibility
Ag
FailOn white
WCAG 2.78:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.53:1 · APCA Lc 48
Best text color: #000000
WCAG 7.53:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--metal-petal: #af92ad;
--metal-petal-rgb: 175 146 173;
--metal-petal-oklch: oklch(0.695 0.051 328.3);
}
.element {
color: var(--metal-petal);
background-color: hsl(304 15% 63%);
border-color: oklch(0.695 0.051 328.3);
}Tailwind CSS v4
@theme {
--color-metal-petal: #af92ad;
--color-metal-petal-50: #fef0fc;
--color-metal-petal-100: #f2e2f0;
--color-metal-petal-200: #e2cddf;
--color-metal-petal-300: #c7aec4;
--color-metal-petal-400: #b094ae;
--color-metal-petal-500: #997a97;
--color-metal-petal-600: #826880;
--color-metal-petal-700: #685366;
--color-metal-petal-800: #4c3c4c;
--color-metal-petal-900: #352935;
--color-metal-petal-950: #201720;
}SCSS
$metal-petal: #af92ad;
$metal-petal-rgb: 175, 146, 173;
$metal-petal-light: mix(#fff, $metal-petal, 20%);
$metal-petal-dark: mix(#000, $metal-petal, 20%);
.element {
color: $metal-petal;
box-shadow: 0 0 0 2px rgba($metal-petal, 0.35);
}