Màu có tên gần nhất · #A80021
#A80021
Màu có tên gần nhất: Ecstatic Red
#A80021 (rgb(168 0 33), hsl(348 100% 33%), oklch(0.462 0.186 22.7)) gần nhất với màu có tên Ecstatic Red. 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.
#A80021
oklch(0.462 0.186 22.7)
Chuyển đổi màu
- HEX
- #a80021
- RGB
- rgb(168 0 33)
- HSL
- hsl(348 100% 33%)
- HWB
- hwb(348 0% 34%)
- OKLCH
- oklch(0.462 0.186 22.7)
- OKLab
- oklab(0.462 0.172 0.072)
- CIE Lab
- lab(35.6 59.53 34.89)
- LCH
- lch(35.6 69 30.4)
- CMYK
- cmyk(0% 100% 80% 34%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- B43137
- BF4C4D
- CA6462
- D47A77
- DD918D
- E5A7A3
- EDBCB9
- F4D3D0
- FAE9E7
Sắc đậm
- 92001B
- 7C0016
- 670010
- 52000B
- 3F0006
- 2C0003
- 1A0001
- 0A0000
- 010000
Sắc xám
- A6212C
- A43236
- A13F40
- 9E4B49
- 9B5553
- 975E5C
- 926765
- 8D706E
- 877877
Hòa sắc
Bổ túc +180°
- A80021
Ecstatic Red
- 00656C
≈ Trouser Blue
Tương đồng -30° +30°
- A80021
Ecstatic Red
- 9E0962
≈ Morbid Princess
- 894200
≈ Chocolate Pancakes
Bộ ba +120° +240°
- A80021
Ecstatic Red
- 006C03
≈ Leafy Lush
- 194DBE
≈ Mourning Blue
Bổ túc chia +150° +210°
- A80021
Ecstatic Red
- 006853
≈ Piney Lake
- 006185
≈ Blue League
Bộ bốn +90° +180° +270°
- A80021
Ecstatic Red
- 5A5E00
≈ Greensboro
- 00656C
≈ Trouser Blue
- 6137B4
≈ Purple Emperor
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 7.81:1 · APCA Lc 85
Ag
FailTrên nền đen
WCAG 2.68:1 · APCA Lc 17
Màu chữ tốt nhất: #FFFFFF
WCAG 7.81:1 (AAA) · APCA Lc 85
Contrast pairs
Đoạn mã
CSS
:root {
--ecstatic-red: #a80021;
--ecstatic-red-rgb: 168 0 33;
--ecstatic-red-oklch: oklch(0.462 0.186 22.7);
}
.element {
color: var(--ecstatic-red);
background-color: hsl(348 100% 33%);
border-color: oklch(0.462 0.186 22.7);
}Tailwind CSS v4
@theme {
--color-ecstatic-red: #a80021;
--color-ecstatic-red-50: #ffe1db;
--color-ecstatic-red-100: #ffd0c9;
--color-ecstatic-red-200: #ffb4ac;
--color-ecstatic-red-300: #ff8e87;
--color-ecstatic-red-400: #f96969;
--color-ecstatic-red-500: #e83f48;
--color-ecstatic-red-600: #c4373e;
--color-ecstatic-red-700: #9d2c31;
--color-ecstatic-red-800: #751e25;
--color-ecstatic-red-900: #531419;
--color-ecstatic-red-950: #370409;
}SCSS
$ecstatic-red: #a80021;
$ecstatic-red-rgb: 168, 0, 33;
$ecstatic-red-light: mix(#fff, $ecstatic-red, 20%);
$ecstatic-red-dark: mix(#000, $ecstatic-red, 20%);
.element {
color: $ecstatic-red;
box-shadow: 0 0 0 2px rgba($ecstatic-red, 0.35);
}