最接近的命名颜色 · #CF4A27
#CF4A27
最接近的命名颜色: Peanut Butter Jelly
#CF4A27(rgb(207 74 39)、hsl(13 68% 48%)、oklch(0.587 0.175 35.4))最接近命名颜色 Peanut Butter Jelly。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#CF4A27
oklch(0.587 0.175 35.4)
颜色转换
- HEX
- #cf4a27
- RGB
- rgb(207 74 39)
- HSL
- hsl(13 68% 48%)
- HWB
- hwb(13 15% 19%)
- OKLCH
- oklch(0.587 0.175 35.4)
- OKLab
- oklab(0.587 0.143 0.101)
- CIE Lab
- lab(50.59 52.3 48.68)
- LCH
- lch(50.59 71.45 42.9)
- CMYK
- cmyk(0% 64% 81% 19%)
浅色调 · 深色调 · 灰色调
浅色调
- D65F40
- DD7257
- E3846C
- E99681
- EEA895
- F3B9AA
- F7CBBF
- FADCD4
- FDEEE9
深色调
- B43F20
- 99351A
- 7F2A14
- 67200E
- 4F1708
- 380E04
- 230602
- 100201
- 020000
灰色调
- C85234
- C2593F
- BB6049
- B36651
- AC6B5A
- A47062
- 9C746A
- 937871
- 8A7C79
配色和谐
互补色 +180°
- CF4A27
Peanut Butter Jelly
- 008BA3
≈ Parrot Flight
类似色 -30° +30°
- CF4A27
Peanut Butter Jelly
- CC436E
≈ Dark Pink
- B06900
≈ Ginger
三角配色 +120° +240°
- CF4A27
Peanut Butter Jelly
- 009555
≈ Garnish
- 626DE2
≈ Exodus Fruit
分裂互补色 +150° +210°
- CF4A27
Peanut Butter Jelly
- 009085
≈ Emerald Coast
- 0082CE
≈ Lvivian Rain
四角配色 +90° +180° +270°
- CF4A27
Peanut Butter Jelly
- 688B00
≈ Sap Green
- 008BA3
≈ Parrot Flight
- 965BCE
≈ Morado Purple
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 70
Ag
AA黑底
WCAG 4.66:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--peanut-butter-jelly: #cf4a27;
--peanut-butter-jelly-rgb: 207 74 39;
--peanut-butter-jelly-oklch: oklch(0.587 0.175 35.4);
}
.element {
color: var(--peanut-butter-jelly);
background-color: hsl(13 68% 48%);
border-color: oklch(0.587 0.175 35.4);
}Tailwind CSS v4
@theme {
--color-peanut-butter-jelly: #cf4a27;
--color-peanut-butter-jelly-50: #ffe5d2;
--color-peanut-butter-jelly-100: #ffd4be;
--color-peanut-butter-jelly-200: #ffba9e;
--color-peanut-butter-jelly-300: #ff9575;
--color-peanut-butter-jelly-400: #f37251;
--color-peanut-butter-jelly-500: #e24c24;
--color-peanut-butter-jelly-600: #bf4221;
--color-peanut-butter-jelly-700: #99351a;
--color-peanut-butter-jelly-800: #732414;
--color-peanut-butter-jelly-900: #51180d;
--color-peanut-butter-jelly-950: #360802;
}SCSS
$peanut-butter-jelly: #cf4a27;
$peanut-butter-jelly-rgb: 207, 74, 39;
$peanut-butter-jelly-light: mix(#fff, $peanut-butter-jelly, 20%);
$peanut-butter-jelly-dark: mix(#000, $peanut-butter-jelly, 20%);
.element {
color: $peanut-butter-jelly;
box-shadow: 0 0 0 2px rgba($peanut-butter-jelly, 0.35);
}