最接近的命名颜色 · #CF4A2A
#CF4A2A
最接近的命名颜色: Peanut Butter Jelly
#CF4A2A(rgb(207 74 42)、hsl(12 66% 49%)、oklch(0.587 0.175 34.7))最接近命名颜色 Peanut Butter Jelly。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#CF4A2A
oklch(0.587 0.175 34.7)
颜色转换
- HEX
- #cf4a2a
- RGB
- rgb(207 74 42)
- HSL
- hsl(12 66% 49%)
- HWB
- hwb(12 16% 19%)
- OKLCH
- oklch(0.587 0.175 34.7)
- OKLab
- oklab(0.587 0.144 0.099)
- CIE Lab
- lab(50.61 52.36 47.23)
- LCH
- lch(50.61 70.52 42.1)
- CMYK
- cmyk(0% 64% 80% 19%)
浅色调 · 深色调 · 灰色调
浅色调
- D65F42
- DD7258
- E3846D
- E99682
- EEA896
- F3B9AB
- F7CBC0
- FADCD4
- FDEEEA
深色调
- B43F23
- 99351C
- 7F2A16
- 672010
- 4F170A
- 380E05
- 230602
- 100201
- 020000
灰色调
- C85236
- C25941
- BB604A
- B36653
- AC6B5B
- A47063
- 9C746A
- 937872
- 8A7C79
配色和谐
互补色 +180°
- CF4A2A
Peanut Butter Jelly
- 008CA2
≈ Parrot Flight
类似色 -30° +30°
- CF4A2A
Peanut Butter Jelly
- CC446F
≈ Dark Pink
- B16900
≈ Pumpkin Spice
三角配色 +120° +240°
- CF4A2A
Peanut Butter Jelly
- 009553
≈ Garnish
- 606EE2
≈ Exodus Fruit
分裂互补色 +150° +210°
- CF4A2A
Peanut Butter Jelly
- 009084
≈ Emerald Coast
- 0083CD
≈ Lvivian Rain
四角配色 +90° +180° +270°
- CF4A2A
Peanut Butter Jelly
- 698A00
≈ Italian Buckthorn
- 008CA2
≈ Parrot Flight
- 955BCE
≈ 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: #cf4a2a;
--peanut-butter-jelly-rgb: 207 74 42;
--peanut-butter-jelly-oklch: oklch(0.587 0.175 34.7);
}
.element {
color: var(--peanut-butter-jelly);
background-color: hsl(12 66% 49%);
border-color: oklch(0.587 0.175 34.7);
}Tailwind CSS v4
@theme {
--color-peanut-butter-jelly: #cf4a2a;
--color-peanut-butter-jelly-50: #ffe5d2;
--color-peanut-butter-jelly-100: #ffd4bf;
--color-peanut-butter-jelly-200: #ffba9f;
--color-peanut-butter-jelly-300: #ff9576;
--color-peanut-butter-jelly-400: #f37253;
--color-peanut-butter-jelly-500: #e24c28;
--color-peanut-butter-jelly-600: #be4224;
--color-peanut-butter-jelly-700: #99351c;
--color-peanut-butter-jelly-800: #732416;
--color-peanut-butter-jelly-900: #51180e;
--color-peanut-butter-jelly-950: #360802;
}SCSS
$peanut-butter-jelly: #cf4a2a;
$peanut-butter-jelly-rgb: 207, 74, 42;
$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);
}