Nearest named color · #D87AC5
#D87AC5
Nearest named color: Pink Punk
#D87AC5 (rgb(216 122 197), hsl(312 55% 66%), oklch(0.707 0.149 335)) is closest to the named color Pink Punk. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#D87AC5
oklch(0.707 0.149 335)
Color conversions
- HEX
- #d87ac5
- RGB
- rgb(216 122 197)
- HSL
- hsl(312 55% 66%)
- HWB
- hwb(312 48% 15%)
- OKLCH
- oklch(0.707 0.149 335)
- OKLab
- oklab(0.707 0.135 -0.063)
- CIE Lab
- lab(63.85 44.88 -22.92)
- LCH
- lch(63.85 50.4 332.9)
- CMYK
- cmyk(0% 44% 9% 15%)
Tints · Shades · Tones
Tints
- DD88CB
- E295D1
- E6A3D7
- EAB0DD
- EEBDE2
- F2CAE8
- F6D7EE
- F9E5F4
- FCF2F9
Shades
- BC69AB
- A05992
- 854979
- 6B3A61
- 532B4B
- 3B1D35
- 251021
- 11050E
- 020102
Tones
- CF7BBE
- C77DB7
- BE7EB0
- B67EA9
- AD7FA2
- A4809B
- 9B8095
- 92808E
- 898087
Color harmonies
Complementary +180°
- D87AC5
Pink Punk
- 3FBB76
≈ Esmeralda
Analogous -30° +30°
- D87AC5
Pink Punk
- B686EA
≈ Lavender Blossom
- EB7594
≈ Embarrassed
Triadic +120° +240°
- D87AC5
Pink Punk
- BD9E00
≈ Perennial
- 00B3D1
≈ Aquarius
Split-complementary +150° +210°
- D87AC5
Pink Punk
- 8BB03B
≈ Young Bud
- 00B9AB
≈ Verditer
Tetradic +90° +180° +270°
- D87AC5
Pink Punk
- DF8A21
≈ Sumac Dyed
- 3FBB76
≈ Esmeralda
- 3FA8F6
≈ Xed
Contrast & accessibility
Ag
FailOn white
WCAG 2.79:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.50:1 · APCA Lc 48
Best text color: #000000
WCAG 7.50:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--pink-punk: #d87ac5;
--pink-punk-rgb: 216 122 197;
--pink-punk-oklch: oklch(0.707 0.149 335);
}
.element {
color: var(--pink-punk);
background-color: hsl(312 55% 66%);
border-color: oklch(0.707 0.149 335);
}Tailwind CSS v4
@theme {
--color-pink-punk: #d87ac5;
--color-pink-punk-50: #ffe6ff;
--color-pink-punk-100: #ffd6fa;
--color-pink-punk-200: #febcec;
--color-pink-punk-300: #e899d3;
--color-pink-punk-400: #d37ac1;
--color-pink-punk-500: #c05aad;
--color-pink-punk-600: #a24d92;
--color-pink-punk-700: #823d75;
--color-pink-punk-800: #602c58;
--color-pink-punk-900: #431e3e;
--color-pink-punk-950: #2b0d27;
}SCSS
$pink-punk: #d87ac5;
$pink-punk-rgb: 216, 122, 197;
$pink-punk-light: mix(#fff, $pink-punk, 20%);
$pink-punk-dark: mix(#000, $pink-punk, 20%);
.element {
color: $pink-punk;
box-shadow: 0 0 0 2px rgba($pink-punk, 0.35);
}