命名颜色 · #7D7170
Sophomore
Sophomore 即 #7D7170:rgb(125 113 112)、hsl(5 5% 46%)、oklch(0.559 0.015 23.3)。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
What does Gray mean? → · Sophomore color name →
#7D7170
oklch(0.559 0.015 23.3)
颜色转换
- HEX
- #7d7170
- RGB
- rgb(125 113 112)
- HSL
- hsl(5 5% 46%)
- HWB
- hwb(5 44% 51%)
- OKLCH
- oklch(0.559 0.015 23.3)
- OKLab
- oklab(0.559 0.014 0.006)
- CIE Lab
- lab(48.74 4.69 2.34)
- LCH
- lch(48.74 5.24 26.6)
- CMYK
- cmyk(0% 10% 10% 51%)
浅色调 · 深色调 · 灰色调
浅色调
- 897E7D
- 968C8B
- A29999
- AFA7A7
- BCB5B5
- C9C4C3
- D6D2D2
- E4E1E1
- F1F0F0
深色调
- 6C6160
- 5B5251
- 4B4343
- 3B3535
- 2C2727
- 1E1A1A
- 110E0E
- 050404
- 010101
灰色调
- 7D7272
- 7E7473
- 7E7575
- 7E7776
- 7F7878
- 7F7A7A
- 7F7B7B
- 7F7D7D
- 807E7E
配色和谐
互补色 +180°
- 7D7170
Sophomore
- 6A7778
≈ North Grey
类似色 -30° +30°
- 7D7170
Sophomore
- 7C7175
≈ Empress
- 7C726C
≈ Moroccan Brown
三角配色 +120° +240°
- 7D7170
Sophomore
- 6F776F
≈ Agave Green
- 70747D
≈ Spitsbergen Blue
分裂互补色 +150° +210°
- 7D7170
Sophomore
- 6C7773
≈ Victorian Tapestry
- 6C767C
≈ Pompeii Ash
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 4.70:1 · APCA Lc 73
Ag
Fail黑底
WCAG 4.46:1 · APCA Lc 29
最佳文字颜色: #FFFFFF
WCAG 4.70:1 (AA) · APCA Lc 73
Contrast pairs
代码片段
CSS
:root {
--sophomore: #7d7170;
--sophomore-rgb: 125 113 112;
--sophomore-oklch: oklch(0.559 0.015 23.3);
}
.element {
color: var(--sophomore);
background-color: hsl(5 5% 46%);
border-color: oklch(0.559 0.015 23.3);
}Tailwind CSS v4
@theme {
--color-sophomore: #7d7170;
--color-sophomore-50: #f9f3f3;
--color-sophomore-100: #ede6e5;
--color-sophomore-200: #dbd2d1;
--color-sophomore-300: #bfb5b3;
--color-sophomore-400: #a79b9a;
--color-sophomore-500: #908281;
--color-sophomore-600: #7a6e6e;
--color-sophomore-700: #615858;
--color-sophomore-800: #474040;
--color-sophomore-900: #322c2c;
--color-sophomore-950: #1d1919;
}SCSS
$sophomore: #7d7170;
$sophomore-rgb: 125, 113, 112;
$sophomore-light: mix(#fff, $sophomore, 20%);
$sophomore-dark: mix(#000, $sophomore, 20%);
.element {
color: $sophomore;
box-shadow: 0 0 0 2px rgba($sophomore, 0.35);
}