最接近的命名颜色 · #E174C5
#E174C5
最接近的命名颜色: Pink Punk
#E174C5(rgb(225 116 197)、hsl(315 64% 67%)、oklch(0.709 0.166 337.8))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#E174C5
oklch(0.709 0.166 337.8)
颜色转换
- HEX
- #e174c5
- RGB
- rgb(225 116 197)
- HSL
- hsl(315 64% 67%)
- HWB
- hwb(315 45% 12%)
- OKLCH
- oklch(0.709 0.166 337.8)
- OKLab
- oklab(0.709 0.153 -0.063)
- CIE Lab
- lab(63.88 50.69 -22.74)
- LCH
- lch(63.88 55.56 335.8)
- CMYK
- cmyk(0% 48% 12% 12%)
浅色调 · 深色调 · 灰色调
浅色调
- E583CB
- E991D1
- ED9FD7
- F1ADDD
- F4BBE2
- F7C8E8
- F9D6EE
- FBE4F4
- FDF1F9
深色调
- C464AB
- A75492
- 8B4579
- 703761
- 56294B
- 3E1B35
- 270F21
- 12050E
- 020102
灰色调
- D876BE
- CE78B7
- C57AB0
- BC7CA9
- B27DA2
- A87E9B
- 9F7F95
- 957F8E
- 8A8087
配色和谐
互补色 +180°
- E174C5
Pink Punk
- 04BF78
≈ Times Square Screens
类似色 -30° +30°
- E174C5
Pink Punk
- BE82F0
≈ Azuremyst Isle
- F46F8E
≈ Out of Fashion
三角配色 +120° +240°
- E174C5
Pink Punk
- BAA100
≈ Snakebite Leather
- 00B3D5
≈ Aquarius
分裂互补色 +150° +210°
- E174C5
Pink Punk
- 83B42F
≈ Outrageous Green
- 00B9AF
≈ Turquoise Topaz
四角配色 +90° +180° +270°
- E174C5
Pink Punk
- E08B00
≈ Sumac Dyed
- 04BF78
≈ Times Square Screens
- 3EA7FF
≈ Xed
对比度与无障碍
Ag
Fail白底
WCAG 2.79:1 · APCA Lc 53
Ag
AAA黑底
WCAG 7.50:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.50:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #e174c5;
--pink-punk-rgb: 225 116 197;
--pink-punk-oklch: oklch(0.709 0.166 337.8);
}
.element {
color: var(--pink-punk);
background-color: hsl(315 64% 67%);
border-color: oklch(0.709 0.166 337.8);
}Tailwind CSS v4
@theme {
--color-pink-punk: #e174c5;
--color-pink-punk-50: #ffe3ff;
--color-pink-punk-100: #ffd3fa;
--color-pink-punk-200: #ffb9eb;
--color-pink-punk-300: #ef95d2;
--color-pink-punk-400: #db74c0;
--color-pink-punk-500: #c852ac;
--color-pink-punk-600: #a94691;
--color-pink-punk-700: #883874;
--color-pink-punk-800: #642858;
--color-pink-punk-900: #461b3d;
--color-pink-punk-950: #2d0a27;
}SCSS
$pink-punk: #e174c5;
$pink-punk-rgb: 225, 116, 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);
}