最接近的命名颜色 · #CF7FC5
#CF7FC5
最接近的命名颜色: Pink Punk
#CF7FC5(rgb(207 127 197)、hsl(308 45% 65%)、oklch(0.704 0.133 331.5))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#CF7FC5
oklch(0.704 0.133 331.5)
颜色转换
- HEX
- #cf7fc5
- RGB
- rgb(207 127 197)
- HSL
- hsl(308 45% 65%)
- HWB
- hwb(308 50% 19%)
- OKLCH
- oklch(0.704 0.133 331.5)
- OKLab
- oklab(0.704 0.117 -0.064)
- CIE Lab
- lab(63.74 39.39 -23.22)
- LCH
- lch(63.74 45.72 329.5)
- CMYK
- cmyk(0% 39% 5% 19%)
浅色调 · 深色调 · 灰色调
浅色调
- D58CCB
- DA99D1
- DFA6D7
- E4B2DD
- E9BFE2
- EECCE8
- F2D9EE
- F7E5F4
- FBF2F9
深色调
- B46EAB
- 995D92
- 7F4C79
- 673C61
- 4F2D4B
- 381F35
- 231121
- 10060E
- 020102
灰色调
- C780BE
- C080B7
- B881B0
- B081A9
- A881A2
- A0819B
- 988195
- 90818E
- 888087
配色和谐
互补色 +180°
- CF7FC5
Pink Punk
- 57B774
≈ Lawn Party
类似色 -30° +30°
- CF7FC5
Pink Punk
- AF8AE5
≈ Middy’s Purple
- E27A9A
≈ Impatient Pink
三角配色 +120° +240°
- CF7FC5
Pink Punk
- BE9C25
≈ Buddha Gold
- 00B3CB
≈ Antigua Blue
分裂互补色 +150° +210°
- CF7FC5
Pink Punk
- 93AC44
≈ Persian Belt
- 00B9A5
≈ Verditer
四角配色 +90° +180° +270°
- CF7FC5
Pink Punk
- DA8A3D
≈ Coppersmith
- 57B774
≈ Lawn Party
- 45A9EB
≈ Cerulean
对比度与无障碍
Ag
Fail白底
WCAG 2.80:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.49:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.49:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #cf7fc5;
--pink-punk-rgb: 207 127 197;
--pink-punk-oklch: oklch(0.704 0.133 331.5);
}
.element {
color: var(--pink-punk);
background-color: hsl(308 45% 65%);
border-color: oklch(0.704 0.133 331.5);
}Tailwind CSS v4
@theme {
--color-pink-punk: #cf7fc5;
--color-pink-punk-50: #ffe8ff;
--color-pink-punk-100: #ffd8fb;
--color-pink-punk-200: #f8bfec;
--color-pink-punk-300: #e19ed4;
--color-pink-punk-400: #cc80c2;
--color-pink-punk-500: #b761ae;
--color-pink-punk-600: #9b5393;
--color-pink-punk-700: #7c4276;
--color-pink-punk-800: #5b3058;
--color-pink-punk-900: #40203e;
--color-pink-punk-950: #290f27;
}SCSS
$pink-punk: #cf7fc5;
$pink-punk-rgb: 207, 127, 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);
}