Màu có tên gần nhất · #381F20
#381F20
Màu có tên gần nhất: Ethereal Espresso
#381F20 (rgb(56 31 32), hsl(358 29% 17%), oklch(0.273 0.039 17.4)) gần nhất với màu có tên Ethereal Espresso. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#381F20
oklch(0.273 0.039 17.4)
Chuyển đổi màu
- HEX
- #381f20
- RGB
- rgb(56 31 32)
- HSL
- hsl(358 29% 17%)
- HWB
- hwb(358 12% 78%)
- OKLCH
- oklch(0.273 0.039 17.4)
- OKLab
- oklab(0.273 0.037 0.012)
- CIE Lab
- lab(15.22 12.59 4.75)
- LCH
- lch(15.22 13.46 20.7)
- CMYK
- cmyk(0% 45% 43% 78%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 4A3233
- 5D4646
- 705B5B
- 837070
- 978787
- AB9E9E
- BFB5B5
- D4CDCD
- E9E6E6
Sắc đậm
- 2F191A
- 271415
- 1F0F0F
- 170A0A
- 0F0606
- 080303
- 040101
- 010000
- 000000
Sắc xám
- 3F2829
- 463131
- 4E3A3B
- 554444
- 5C4D4D
- 635757
- 6A6161
- 726B6B
- 797676
Hòa sắc
Bổ túc +180°
- 381F20
Ethereal Espresso
- 0A2D2E
≈ Black Chasm
Tương đồng -30° +30°
- 381F20
Ethereal Espresso
- 351F2B
≈ Antique Burgundy
- 372116
≈ Wetlands Swamp
Bộ ba +120° +240°
- 381F20
Ethereal Espresso
- 1E2C18
≈ Kuro Green
- 1B283A
≈ Midnight Express
Bổ túc chia +150° +210°
- 381F20
Ethereal Espresso
- 112D23
≈ Guerrilla Forest
- 0F2B36
≈ Black Chasm
Bộ bốn +90° +180° +270°
- 381F20
Ethereal Espresso
- 292811
≈ Kuro Green
- 0A2D2E
≈ Black Chasm
- 262439
≈ Cold Steel
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 15.16:1 · APCA Lc 102
Ag
FailTrên nền đen
WCAG 1.38:1 · APCA Lc 0
Màu chữ tốt nhất: #FFFFFF
WCAG 15.16:1 (AAA) · APCA Lc 102
Contrast pairs
Đoạn mã
CSS
:root {
--ethereal-espresso: #381f20;
--ethereal-espresso-rgb: 56 31 32;
--ethereal-espresso-oklch: oklch(0.273 0.039 17.4);
}
.element {
color: var(--ethereal-espresso);
background-color: hsl(358 29% 17%);
border-color: oklch(0.273 0.039 17.4);
}Tailwind CSS v4
@theme {
--color-ethereal-espresso: #381f20;
--color-ethereal-espresso-50: #fff1f1;
--color-ethereal-espresso-100: #f5e3e3;
--color-ethereal-espresso-200: #e5cecd;
--color-ethereal-espresso-300: #cbb0af;
--color-ethereal-espresso-400: #b59696;
--color-ethereal-espresso-500: #9f7c7d;
--color-ethereal-espresso-600: #86696a;
--color-ethereal-espresso-700: #6b5454;
--color-ethereal-espresso-800: #4f3d3e;
--color-ethereal-espresso-900: #372a2b;
--color-ethereal-espresso-950: #221818;
}SCSS
$ethereal-espresso: #381f20;
$ethereal-espresso-rgb: 56, 31, 32;
$ethereal-espresso-light: mix(#fff, $ethereal-espresso, 20%);
$ethereal-espresso-dark: mix(#000, $ethereal-espresso, 20%);
.element {
color: $ethereal-espresso;
box-shadow: 0 0 0 2px rgba($ethereal-espresso, 0.35);
}