Màu có tên gần nhất · #DF2A2C
#DF2A2C
Màu có tên gần nhất: Red Hot Chili Pepper
#DF2A2C (rgb(223 42 44), hsl(359 74% 52%), oklch(0.586 0.215 26.6)) gần nhất với màu có tên Red Hot Chili Pepper. 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.
#DF2A2C
oklch(0.586 0.215 26.6)
Chuyển đổi màu
- HEX
- #df2a2c
- RGB
- rgb(223 42 44)
- HSL
- hsl(359 74% 52%)
- HWB
- hwb(359 16% 13%)
- OKLCH
- oklch(0.586 0.215 26.6)
- OKLab
- oklab(0.586 0.192 0.096)
- CIE Lab
- lab(49.77 67.74 46.77)
- LCH
- lch(49.77 82.32 34.6)
- CMYK
- cmyk(0% 81% 80% 13%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- E64A44
- EB6259
- F1786E
- F58D82
- F9A096
- FCB4AB
- FEC7C0
- FFD9D5
- FFECEA
Sắc đậm
- C22325
- A51C1E
- 8A1617
- 6F1011
- 560A0A
- 3D0505
- 270202
- 120101
- 020000
Sắc xám
- D73B37
- CF4841
- C7534B
- BE5B53
- B5635B
- AC6A63
- A2706A
- 987672
- 8C7B79
Hòa sắc
Bổ túc +180°
- DF2A2C
Red Hot Chili Pepper
- 008C9A
≈ Coral Coast
Tương đồng -30° +30°
- DF2A2C
Red Hot Chili Pepper
- D5297F
≈ Highlighter Lilac
- B96100
≈ Honey Ginger
Bộ ba +120° +240°
- DF2A2C
Red Hot Chili Pepper
- 009633
≈ Irish Green
- 426DF9
≈ Secret of Mana
Bổ túc chia +150° +210°
- DF2A2C
Red Hot Chili Pepper
- 00917A
≈ Aqua Waters
- 0086BD
≈ Ibiza Blue
Bộ bốn +90° +180° +270°
- DF2A2C
Red Hot Chili Pepper
- 788500
≈ Swamp Green
- 008C9A
≈ Coral Coast
- 8C54E9
≈ Gloomy Purple
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.66:1 · APCA Lc 71
Ag
AATrên nền đen
WCAG 4.50:1 · APCA Lc 31
Màu chữ tốt nhất: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 71
Contrast pairs
Đoạn mã
CSS
:root {
--red-hot-chili-pepper: #df2a2c;
--red-hot-chili-pepper-rgb: 223 42 44;
--red-hot-chili-pepper-oklch: oklch(0.586 0.215 26.6);
}
.element {
color: var(--red-hot-chili-pepper);
background-color: hsl(359 74% 52%);
border-color: oklch(0.586 0.215 26.6);
}Tailwind CSS v4
@theme {
--color-red-hot-chili-pepper: #df2a2c;
--color-red-hot-chili-pepper-50: #ffdfd2;
--color-red-hot-chili-pepper-100: #ffcdbf;
--color-red-hot-chili-pepper-200: #ffaf9f;
--color-red-hot-chili-pepper-300: #ff8776;
--color-red-hot-chili-pepper-400: #ff5d55;
--color-red-hot-chili-pepper-500: #f4242b;
--color-red-hot-chili-pepper-600: #ce2326;
--color-red-hot-chili-pepper-700: #a61d1e;
--color-red-hot-chili-pepper-800: #7c1218;
--color-red-hot-chili-pepper-900: #580c0f;
--color-red-hot-chili-pepper-950: #3b0003;
}SCSS
$red-hot-chili-pepper: #df2a2c;
$red-hot-chili-pepper-rgb: 223, 42, 44;
$red-hot-chili-pepper-light: mix(#fff, $red-hot-chili-pepper, 20%);
$red-hot-chili-pepper-dark: mix(#000, $red-hot-chili-pepper, 20%);
.element {
color: $red-hot-chili-pepper;
box-shadow: 0 0 0 2px rgba($red-hot-chili-pepper, 0.35);
}