最接近的命名颜色 · #D8809C
#D8809C
最接近的命名颜色: Primrose
#D8809C(rgb(216 128 156)、hsl(341 53% 67%)、oklch(0.702 0.113 360))最接近命名颜色 Primrose。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D8809C
oklch(0.702 0.113 360)
颜色转换
- HEX
- #d8809c
- RGB
- rgb(216 128 156)
- HSL
- hsl(341 53% 67%)
- HWB
- hwb(341 50% 15%)
- OKLCH
- oklch(0.702 0.113 360)
- OKLab
- oklab(0.702 0.113 0)
- CIE Lab
- lab(63.97 37.33 0.42)
- LCH
- lch(63.97 37.33 0.6)
- CMYK
- cmyk(0% 41% 28% 15%)
浅色调 · 深色调 · 灰色调
浅色调
- DD8DA5
- E299AF
- E6A6B9
- EBB3C3
- EFBFCC
- F2CCD6
- F6D9E0
- F9E5EA
- FCF2F5
深色调
- BC6E87
- A05D73
- 854D5F
- 6B3D4C
- 532E39
- 3B1F28
- 251218
- 110609
- 020101
灰色调
- D08199
- C78196
- BE8193
- B68191
- AD818E
- A4818B
- 9C8188
- 938186
- 898083
配色和谐
互补色 +180°
- D8809C
Primrose
- 36B6A1
≈ Capture
类似色 -30° +30°
- D8809C
Primrose
- C784C0
≈ Lavender Sweater
- DC8375
≈ New York Pink
三角配色 +120° +240°
- D8809C
Primrose
- 96A954
≈ Springtide Melodies
- 56A8DE
≈ High Blue
分裂互补色 +150° +210°
- D8809C
Primrose
- 68B379
≈ Appleton
- 29B2C6
≈ Lago Blue
四角配色 +90° +180° +270°
- D8809C
Primrose
- BA9B43
≈ Golden History
- 36B6A1
≈ Capture
- 839BE6
≈ Portage
对比度与无障碍
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 {
--primrose: #d8809c;
--primrose-rgb: 216 128 156;
--primrose-oklch: oklch(0.702 0.113 360);
}
.element {
color: var(--primrose);
background-color: hsl(341 53% 67%);
border-color: oklch(0.702 0.113 360);
}Tailwind CSS v4
@theme {
--color-primrose: #d8809c;
--color-primrose-50: #ffe8f2;
--color-primrose-100: #ffd9e5;
--color-primrose-200: #ffc1d0;
--color-primrose-300: #e99fb3;
--color-primrose-400: #d5819c;
--color-primrose-500: #c16383;
--color-primrose-600: #a3556f;
--color-primrose-700: #834359;
--color-primrose-800: #613042;
--color-primrose-900: #44212e;
--color-primrose-950: #2c101a;
}SCSS
$primrose: #d8809c;
$primrose-rgb: 216, 128, 156;
$primrose-light: mix(#fff, $primrose, 20%);
$primrose-dark: mix(#000, $primrose, 20%);
.element {
color: $primrose;
box-shadow: 0 0 0 2px rgba($primrose, 0.35);
}