最接近的命名颜色 · #A12D35
#A12D35
最接近的命名颜色: Pompeian Red
#A12D35(rgb(161 45 53)、hsl(356 56% 40%)、oklch(0.478 0.152 21.4))最接近命名颜色 Pompeian Red。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#A12D35
oklch(0.478 0.152 21.4)
颜色转换
- HEX
- #a12d35
- RGB
- rgb(161 45 53)
- HSL
- hsl(356 56% 40%)
- HWB
- hwb(356 18% 37%)
- OKLCH
- oklch(0.478 0.152 21.4)
- OKLab
- oklab(0.478 0.141 0.055)
- CIE Lab
- lab(37.89 48.41 24.56)
- LCH
- lch(37.89 54.29 26.9)
- CMYK
- cmyk(0% 72% 67% 37%)
浅色调 · 深色调 · 灰色调
浅色调
- AD4548
- B85B5B
- C36F6E
- CD8482
- D69896
- E0ACAA
- E8C1BF
- F0D5D4
- F8EAE9
深色调
- 8B262D
- 761F25
- 62181D
- 4E1115
- 3C0B0E
- 2A0608
- 190203
- 090101
- 010000
灰色调
- 9F393D
- 9D4344
- 9B4C4C
- 995453
- 965C5B
- 926462
- 8F6B6A
- 8A7271
- 857979
配色和谐
互补色 +180°
- A12D35
Pompeian Red
- 006A70
≈ Deep Lake
类似色 -30° +30°
- A12D35
Pompeian Red
- 982E67
≈ Magenta Manicure
- 924400
≈ Korichnewyi Brown
三角配色 +120° +240°
- A12D35
Pompeian Red
- 1A700C
≈ Battle Cat
- 2858B1
≈ Blasphemous Blue
分裂互补色 +150° +210°
- A12D35
Pompeian Red
- 006E56
≈ Teal Dark Green
- 00668A
≈ Pulsating Blue
四角配色 +90° +180° +270°
- A12D35
Pompeian Red
- 606200
≈ Mud Green
- 006A70
≈ Deep Lake
- 6147AA
≈ Swiss Plum
对比度与无障碍
Ag
AAA白底
WCAG 7.13:1 · APCA Lc 84
Ag
Fail黑底
WCAG 2.94:1 · APCA Lc 18
最佳文字颜色: #FFFFFF
WCAG 7.13:1 (AAA) · APCA Lc 84
Contrast pairs
代码片段
CSS
:root {
--pompeian-red: #a12d35;
--pompeian-red-rgb: 161 45 53;
--pompeian-red-oklch: oklch(0.478 0.152 21.4);
}
.element {
color: var(--pompeian-red);
background-color: hsl(356 56% 40%);
border-color: oklch(0.478 0.152 21.4);
}Tailwind CSS v4
@theme {
--color-pompeian-red: #a12d35;
--color-pompeian-red-50: #ffe5e1;
--color-pompeian-red-100: #ffd5d0;
--color-pompeian-red-200: #ffbbb6;
--color-pompeian-red-300: #fb9792;
--color-pompeian-red-400: #ea7676;
--color-pompeian-red-500: #d85458;
--color-pompeian-red-600: #b6484b;
--color-pompeian-red-700: #93393c;
--color-pompeian-red-800: #6d282c;
--color-pompeian-red-900: #4d1b1e;
--color-pompeian-red-950: #330b0e;
}SCSS
$pompeian-red: #a12d35;
$pompeian-red-rgb: 161, 45, 53;
$pompeian-red-light: mix(#fff, $pompeian-red, 20%);
$pompeian-red-dark: mix(#000, $pompeian-red, 20%);
.element {
color: $pompeian-red;
box-shadow: 0 0 0 2px rgba($pompeian-red, 0.35);
}