最接近的命名颜色 · #D07FC1
#D07FC1
最接近的命名颜色: Pink Punk
#D07FC1(rgb(208 127 193)、hsl(311 46% 66%)、oklch(0.704 0.131 333.9))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D07FC1
oklch(0.704 0.131 333.9)
颜色转换
- HEX
- #d07fc1
- RGB
- rgb(208 127 193)
- HSL
- hsl(311 46% 66%)
- HWB
- hwb(311 50% 18%)
- OKLCH
- oklch(0.704 0.131 333.9)
- OKLab
- oklab(0.704 0.117 -0.057)
- CIE Lab
- lab(63.74 39.21 -20.96)
- LCH
- lch(63.74 44.46 331.9)
- CMYK
- cmyk(0% 39% 7% 18%)
浅色调 · 深色调 · 灰色调
浅色调
- D58CC7
- DB99CE
- E0A6D4
- E5B2DA
- EABFE0
- EECCE6
- F3D8ED
- F7E5F3
- FBF2F9
深色调
- B56EA7
- 9A5D8F
- 804C77
- 673C5F
- 4F2D49
- 391F34
- 231120
- 10060E
- 020102
灰色调
- C880BA
- C080B4
- B981AD
- B181A7
- A981A0
- A1819A
- 998193
- 91818D
- 888086
配色和谐
互补色 +180°
- D07FC1
Pink Punk
- 54B779
≈ Ming Green
类似色 -30° +30°
- D07FC1
Pink Punk
- B18AE1
≈ Middy’s Purple
- E27B96
≈ Frosty Berry
三角配色 +120° +240°
- D07FC1
Pink Punk
- BA9D2B
≈ Buddha Gold
- 00B2CE
≈ Aquarius
分裂互补色 +150° +210°
- D07FC1
Pink Punk
- 8FAD4A
≈ Parrot Green
- 00B8A8
≈ Verditer
四角配色 +90° +180° +270°
- D07FC1
Pink Punk
- D78C3D
≈ Coppersmith
- 54B779
≈ Ming Green
- 4EA7EA
≈ 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: #d07fc1;
--pink-punk-rgb: 208 127 193;
--pink-punk-oklch: oklch(0.704 0.131 333.9);
}
.element {
color: var(--pink-punk);
background-color: hsl(311 46% 66%);
border-color: oklch(0.704 0.131 333.9);
}Tailwind CSS v4
@theme {
--color-pink-punk: #d07fc1;
--color-pink-punk-50: #ffe8ff;
--color-pink-punk-100: #ffd8f9;
--color-pink-punk-200: #f9c0ea;
--color-pink-punk-300: #e29ed1;
--color-pink-punk-400: #cd80be;
--color-pink-punk-500: #b962aa;
--color-pink-punk-600: #9c538f;
--color-pink-punk-700: #7d4273;
--color-pink-punk-800: #5c3056;
--color-pink-punk-900: #40203c;
--color-pink-punk-950: #291026;
}SCSS
$pink-punk: #d07fc1;
$pink-punk-rgb: 208, 127, 193;
$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);
}