最接近的命名颜色 · #AF9497
#AF9497
最接近的命名颜色: Sphinx
#AF9497(rgb(175 148 151)、hsl(353 14% 63%)、oklch(0.692 0.033 10.4))最接近命名颜色 Sphinx。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#AF9497
oklch(0.692 0.033 10.4)
颜色转换
- HEX
- #af9497
- RGB
- rgb(175 148 151)
- HSL
- hsl(353 14% 63%)
- HWB
- hwb(353 58% 31%)
- OKLCH
- oklch(0.692 0.033 10.4)
- OKLab
- oklab(0.692 0.032 0.006)
- CIE Lab
- lab(63.87 10.77 2.36)
- LCH
- lch(63.87 11.03 12.4)
- CMYK
- cmyk(0% 15% 14% 31%)
浅色调 · 深色调 · 灰色调
浅色调
- B79EA1
- BFA9AB
- C7B3B5
- CFBEBF
- D7C8CA
- DFD3D4
- E7DEDF
- EFE9E9
- F7F4F4
深色调
- 988083
- 816D6F
- 6B5A5C
- 564849
- 413637
- 2E2626
- 1C1617
- 0B0808
- 010101
灰色调
- AA9295
- A69092
- A18E90
- 9C8C8E
- 978A8B
- 938889
- 8E8687
- 898485
- 858282
配色和谐
互补色 +180°
- AF9497
Sphinx
- 86A3A0
≈ Venus Teal
类似色 -30° +30°
- AF9497
Sphinx
- AB94A2
≈ Metamorphosis
- AF968D
≈ Rose Mauve
三角配色 +120° +240°
- AF9497
Sphinx
- 95A08B
≈ Triamble
- 8D9EB0
≈ Sonata Blue
分裂互补色 +150° +210°
- AF9497
Sphinx
- 8BA295
≈ Modern Mint
- 86A1AA
≈ Tourmaline
四角配色 +90° +180° +270°
对比度与无障碍
Ag
Fail白底
WCAG 2.79:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.50:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.50:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--sphinx: #af9497;
--sphinx-rgb: 175 148 151;
--sphinx-oklch: oklch(0.692 0.033 10.4);
}
.element {
color: var(--sphinx);
background-color: hsl(353 14% 63%);
border-color: oklch(0.692 0.033 10.4);
}Tailwind CSS v4
@theme {
--color-sphinx: #af9497;
--color-sphinx-50: #fef2f2;
--color-sphinx-100: #f3e4e5;
--color-sphinx-200: #e2cfd0;
--color-sphinx-300: #c7b1b3;
--color-sphinx-400: #b1979a;
--color-sphinx-500: #9a7e81;
--color-sphinx-600: #836a6d;
--color-sphinx-700: #695557;
--color-sphinx-800: #4d3e40;
--color-sphinx-900: #352b2c;
--color-sphinx-950: #211819;
}SCSS
$sphinx: #af9497;
$sphinx-rgb: 175, 148, 151;
$sphinx-light: mix(#fff, $sphinx, 20%);
$sphinx-dark: mix(#000, $sphinx, 20%);
.element {
color: $sphinx;
box-shadow: 0 0 0 2px rgba($sphinx, 0.35);
}