Nearest named color · #D97AC0
#D97AC0
Nearest named color: Pink Punk
#D97AC0 (rgb(217 122 192), hsl(316 56% 66%), oklch(0.706 0.146 337.7)) is closest to the named color Pink Punk. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#D97AC0
oklch(0.706 0.146 337.7)
Color conversions
- HEX
- #d97ac0
- RGB
- rgb(217 122 192)
- HSL
- hsl(316 56% 66%)
- HWB
- hwb(316 48% 15%)
- OKLCH
- oklch(0.706 0.146 337.7)
- OKLab
- oklab(0.706 0.135 -0.055)
- CIE Lab
- lab(63.82 44.6 -20.13)
- LCH
- lch(63.82 48.94 335.7)
- CMYK
- cmyk(0% 44% 12% 15%)
Tints · Shades · Tones
Tints
- DE88C6
- E395CD
- E7A3D3
- EBB0D9
- EFBDE0
- F3CAE6
- F6D7EC
- F9E5F3
- FCF2F9
Shades
- BC69A7
- A1598E
- 864976
- 6C3A5F
- 532B49
- 3B1D34
- 251020
- 11050E
- 020102
Tones
- D07BBA
- C87DB3
- BF7EAD
- B67EA6
- AE7FA0
- A58099
- 9C8093
- 93808D
- 898086
Color harmonies
Complementary +180°
- D97AC0
Pink Punk
- 39BB7C
≈ Greenish Teal
Analogous -30° +30°
- D97AC0
Pink Punk
- B986E6
≈ Lavender Blossom
- EA768F
≈ So Charming
Triadic +120° +240°
- D97AC0
Pink Punk
- B9A001
≈ Snakebite Leather
- 00B2D4
≈ Aquarius
Split-complementary +150° +210°
- D97AC0
Pink Punk
- 86B144
≈ Young Bud
- 00B8AE
≈ Turquoise Topaz
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 2.80:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.49:1 · APCA Lc 48
Best text color: #000000
WCAG 7.49:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--pink-punk: #d97ac0;
--pink-punk-rgb: 217 122 192;
--pink-punk-oklch: oklch(0.706 0.146 337.7);
}
.element {
color: var(--pink-punk);
background-color: hsl(316 56% 66%);
border-color: oklch(0.706 0.146 337.7);
}Tailwind CSS v4
@theme {
--color-pink-punk: #d97ac0;
--color-pink-punk-50: #ffe6ff;
--color-pink-punk-100: #ffd6f8;
--color-pink-punk-200: #ffbce8;
--color-pink-punk-300: #e99acf;
--color-pink-punk-400: #d47bbd;
--color-pink-punk-500: #c15ba8;
--color-pink-punk-600: #a34d8e;
--color-pink-punk-700: #833e72;
--color-pink-punk-800: #602c56;
--color-pink-punk-900: #441e3c;
--color-pink-punk-950: #2b0d25;
}SCSS
$pink-punk: #d97ac0;
$pink-punk-rgb: 217, 122, 192;
$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);
}