最接近的命名颜色 · #5A2F2E
#5A2F2E
最接近的命名颜色: Rampant Rhubarb
#5A2F2E(rgb(90 47 46)、hsl(1 32% 27%)、oklch(0.361 0.063 22.1))最接近命名颜色 Rampant Rhubarb。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5A2F2E
oklch(0.361 0.063 22.1)
颜色转换
- HEX
- #5a2f2e
- RGB
- rgb(90 47 46)
- HSL
- hsl(1 32% 27%)
- HWB
- hwb(1 18% 65%)
- OKLCH
- oklch(0.361 0.063 22.1)
- OKLab
- oklab(0.361 0.058 0.024)
- CIE Lab
- lab(25.19 19.96 9.78)
- LCH
- lch(25.19 22.22 26.1)
- CMYK
- cmyk(0% 48% 49% 65%)
浅色调 · 深色调 · 灰色调
浅色调
- 6A4240
- 7A5553
- 8B6867
- 9B7D7B
- AB9190
- BCA6A5
- CCBCBB
- DDD2D1
- EEE8E8
深色调
- 4D2727
- 41201F
- 351918
- 291212
- 1E0C0B
- 130606
- 090302
- 030101
- 000000
灰色调
- 5E3736
- 633F3D
- 674745
- 6B4F4D
- 6F5756
- 725F5E
- 766766
- 796F6F
- 7D7877
配色和谐
互补色 +180°
- 5A2F2E
Rampant Rhubarb
- 00474B
≈ Incubi Darkness
类似色 -30° +30°
- 5A2F2E
Rampant Rhubarb
- 562F41
≈ Blackberry Tart
- 57331C
≈ Brown Bramble
三角配色 +120° +240°
- 5A2F2E
Rampant Rhubarb
- 294626
≈ Forestry
- 2B3D5E
≈ Nautilus
分裂互补色 +150° +210°
- 5A2F2E
Rampant Rhubarb
- 0E4839
≈ Sherwood Green
- 124359
≈ Sailor Blue
四角配色 +90° +180° +270°
- 5A2F2E
Rampant Rhubarb
- 3E4015
≈ Turtle Skin
- 00474B
≈ Incubi Darkness
- 3E375C
≈ Magic Night
对比度与无障碍
Ag
AAA白底
WCAG 11.16:1 · APCA Lc 96
Ag
Fail黑底
WCAG 1.88:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 11.16:1 (AAA) · APCA Lc 96
Contrast pairs
代码片段
CSS
:root {
--rampant-rhubarb: #5a2f2e;
--rampant-rhubarb-rgb: 90 47 46;
--rampant-rhubarb-oklch: oklch(0.361 0.063 22.1);
}
.element {
color: var(--rampant-rhubarb);
background-color: hsl(1 32% 27%);
border-color: oklch(0.361 0.063 22.1);
}Tailwind CSS v4
@theme {
--color-rampant-rhubarb: #5a2f2e;
--color-rampant-rhubarb-50: #ffefec;
--color-rampant-rhubarb-100: #fde0de;
--color-rampant-rhubarb-200: #eecac7;
--color-rampant-rhubarb-300: #d6aba8;
--color-rampant-rhubarb-400: #c1908e;
--color-rampant-rhubarb-500: #ac7673;
--color-rampant-rhubarb-600: #926462;
--color-rampant-rhubarb-700: #75504e;
--color-rampant-rhubarb-800: #563a39;
--color-rampant-rhubarb-900: #3c2727;
--color-rampant-rhubarb-950: #261615;
}SCSS
$rampant-rhubarb: #5a2f2e;
$rampant-rhubarb-rgb: 90, 47, 46;
$rampant-rhubarb-light: mix(#fff, $rampant-rhubarb, 20%);
$rampant-rhubarb-dark: mix(#000, $rampant-rhubarb, 20%);
.element {
color: $rampant-rhubarb;
box-shadow: 0 0 0 2px rgba($rampant-rhubarb, 0.35);
}