最接近的命名颜色 · #CF81BD
#CF81BD
最接近的命名颜色: Pink Punk
#CF81BD(rgb(207 129 189)、hsl(314 45% 66%)、oklch(0.704 0.123 335.7))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#CF81BD
oklch(0.704 0.123 335.7)
颜色转换
- HEX
- #cf81bd
- RGB
- rgb(207 129 189)
- HSL
- hsl(314 45% 66%)
- HWB
- hwb(314 51% 19%)
- OKLCH
- oklch(0.704 0.123 335.7)
- OKLab
- oklab(0.704 0.112 -0.05)
- CIE Lab
- lab(63.92 37.34 -18.45)
- LCH
- lch(63.92 41.65 333.7)
- CMYK
- cmyk(0% 38% 9% 19%)
浅色调 · 深色调 · 灰色调
浅色调
- D58EC4
- DA9ACA
- DFA7D1
- E4B3D7
- E9C0DE
- EECCE5
- F2D9EB
- F7E6F2
- FBF2F8
深色调
- B46FA4
- 995E8C
- 7F4E74
- 673E5D
- 4F2E47
- 381F33
- 23121F
- 10060D
- 020102
灰色调
- C781B7
- C082B1
- B882AB
- B082A4
- A8829E
- A08298
- 988192
- 90818C
- 888186
配色和谐
互补色 +180°
- CF81BD
Pink Punk
- 57B67F
≈ Jade Cream
类似色 -30° +30°
- CF81BD
Pink Punk
- B28BDC
≈ Middy’s Purple
- DF7D94
≈ Bella Pink
三角配色 +120° +240°
- CF81BD
Pink Punk
- B79F38
≈ Tiki Torch
- 10B2D0
≈ Aquarius
分裂互补色 +150° +210°
- CF81BD
Pink Punk
- 8DAD54
≈ Parrot Green
- 07B8AB
≈ Verditer
四角配色 +90° +180° +270°
- CF81BD
Pink Punk
- D38F44
≈ Suede Vest
- 57B67F
≈ Jade Cream
- 58A6E7
≈ Cerulean
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.52:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #cf81bd;
--pink-punk-rgb: 207 129 189;
--pink-punk-oklch: oklch(0.704 0.123 335.7);
}
.element {
color: var(--pink-punk);
background-color: hsl(314 45% 66%);
border-color: oklch(0.704 0.123 335.7);
}Tailwind CSS v4
@theme {
--color-pink-punk: #cf81bd;
--color-pink-punk-50: #ffe8ff;
--color-pink-punk-100: #ffd9f7;
--color-pink-punk-200: #f8c1e7;
--color-pink-punk-300: #e19fce;
--color-pink-punk-400: #cc82ba;
--color-pink-punk-500: #b764a5;
--color-pink-punk-600: #9b558c;
--color-pink-punk-700: #7c4470;
--color-pink-punk-800: #5b3154;
--color-pink-punk-900: #40213b;
--color-pink-punk-950: #291025;
}SCSS
$pink-punk: #cf81bd;
$pink-punk-rgb: 207, 129, 189;
$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);
}