最接近的命名颜色 · #CF7FC4
#CF7FC4
最接近的命名颜色: Pink Punk
#CF7FC4(rgb(207 127 196)、hsl(308 45% 65%)、oklch(0.704 0.132 332))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#CF7FC4
oklch(0.704 0.132 332)
颜色转换
- HEX
- #cf7fc4
- RGB
- rgb(207 127 196)
- HSL
- hsl(308 45% 65%)
- HWB
- hwb(308 50% 19%)
- OKLCH
- oklch(0.704 0.132 332)
- OKLab
- oklab(0.704 0.117 -0.062)
- CIE Lab
- lab(63.71 39.26 -22.7)
- LCH
- lch(63.71 45.35 330)
- CMYK
- cmyk(0% 39% 5% 19%)
浅色调 · 深色调 · 灰色调
浅色调
- D58CCA
- DA99D0
- DFA6D6
- E4B2DC
- E9BFE2
- EECCE8
- F2D8EE
- F7E5F3
- FBF2F9
深色调
- B46EAA
- 995D91
- 7F4C78
- 673C61
- 4F2D4A
- 381F35
- 231121
- 10060E
- 020102
灰色调
- C780BD
- C080B6
- B881AF
- B081A9
- A881A2
- A0819B
- 988194
- 90818E
- 888087
配色和谐
互补色 +180°
- CF7FC4
Pink Punk
- 57B775
≈ Lawn Party
类似色 -30° +30°
- CF7FC4
Pink Punk
- AF8AE4
≈ Middy’s Purple
- E27A99
≈ Impatient Pink
三角配色 +120° +240°
- CF7FC4
Pink Punk
- BD9C27
≈ Buddha Gold
- 00B3CC
≈ Antigua Blue
分裂互补色 +150° +210°
- CF7FC4
Pink Punk
- 92AC46
≈ Persian Belt
- 00B8A5
≈ Aare River
四角配色 +90° +180° +270°
- CF7FC4
Pink Punk
- D98B3D
≈ Coppersmith
- 57B775
≈ Lawn Party
- 47A8EA
≈ Cerulean
对比度与无障碍
Ag
Fail白底
WCAG 2.80:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.48:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.48:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #cf7fc4;
--pink-punk-rgb: 207 127 196;
--pink-punk-oklch: oklch(0.704 0.132 332);
}
.element {
color: var(--pink-punk);
background-color: hsl(308 45% 65%);
border-color: oklch(0.704 0.132 332);
}Tailwind CSS v4
@theme {
--color-pink-punk: #cf7fc4;
--color-pink-punk-50: #ffe8ff;
--color-pink-punk-100: #ffd8fa;
--color-pink-punk-200: #f8c0ec;
--color-pink-punk-300: #e19ed3;
--color-pink-punk-400: #cc80c1;
--color-pink-punk-500: #b761ad;
--color-pink-punk-600: #9b5392;
--color-pink-punk-700: #7c4275;
--color-pink-punk-800: #5b3058;
--color-pink-punk-900: #40203d;
--color-pink-punk-950: #291027;
}SCSS
$pink-punk: #cf7fc4;
$pink-punk-rgb: 207, 127, 196;
$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);
}