最接近的命名颜色 · #D1472F
#D1472F
最接近的命名颜色: Peanut Butter Jelly
#D1472F(rgb(209 71 47)、hsl(9 64% 50%)、oklch(0.588 0.178 32.2))最接近命名颜色 Peanut Butter Jelly。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D1472F
oklch(0.588 0.178 32.2)
颜色转换
- HEX
- #d1472f
- RGB
- rgb(209 71 47)
- HSL
- hsl(9 64% 50%)
- HWB
- hwb(9 18% 18%)
- OKLCH
- oklch(0.588 0.178 32.2)
- OKLab
- oklab(0.588 0.151 0.095)
- CIE Lab
- lab(50.54 54.36 44.78)
- LCH
- lch(50.54 70.43 39.5)
- CMYK
- cmyk(0% 66% 78% 18%)
浅色调 · 深色调 · 灰色调
浅色调
- D85D46
- DF705B
- E5836F
- EA9584
- EFA798
- F4B9AC
- F8CAC0
- FBDCD5
- FDEDEA
深色调
- B53D27
- 9B3220
- 812819
- 681F12
- 50160C
- 390D06
- 230603
- 100201
- 020000
灰色调
- CA503A
- C35743
- BC5E4C
- B56454
- AD6A5C
- A56F64
- 9C746B
- 947872
- 8A7C79
配色和谐
互补色 +180°
- D1472F
Peanut Butter Jelly
- 008CA0
≈ Parrot Flight
类似色 -30° +30°
- D1472F
Peanut Butter Jelly
- CC4274
≈ Rubber Band
- B46700
≈ Umber
三角配色 +120° +240°
- D1472F
Peanut Butter Jelly
- 00954C
≈ Garnish
- 5A6FE5
≈ Blue Öyster Cult
分裂互补色 +150° +210°
- D1472F
Peanut Butter Jelly
- 009082
≈ Philips Green
- 0084C8
≈ Water Raceway
四角配色 +90° +180° +270°
- D1472F
Peanut Butter Jelly
- 6E8900
≈ Swamp Green
- 008CA0
≈ Parrot Flight
- 925CD3
≈ Morado Purple
对比度与无障碍
Ag
AA白底
WCAG 4.51:1 · APCA Lc 70
Ag
AA黑底
WCAG 4.65:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--peanut-butter-jelly: #d1472f;
--peanut-butter-jelly-rgb: 209 71 47;
--peanut-butter-jelly-oklch: oklch(0.588 0.178 32.2);
}
.element {
color: var(--peanut-butter-jelly);
background-color: hsl(9 64% 50%);
border-color: oklch(0.588 0.178 32.2);
}Tailwind CSS v4
@theme {
--color-peanut-butter-jelly: #d1472f;
--color-peanut-butter-jelly-50: #ffe4d4;
--color-peanut-butter-jelly-100: #ffd3c1;
--color-peanut-butter-jelly-200: #ffb8a1;
--color-peanut-butter-jelly-300: #ff9379;
--color-peanut-butter-jelly-400: #f57057;
--color-peanut-butter-jelly-500: #e4492e;
--color-peanut-butter-jelly-600: #c03f29;
--color-peanut-butter-jelly-700: #9b3220;
--color-peanut-butter-jelly-800: #742218;
--color-peanut-butter-jelly-900: #521710;
--color-peanut-butter-jelly-950: #360703;
}SCSS
$peanut-butter-jelly: #d1472f;
$peanut-butter-jelly-rgb: 209, 71, 47;
$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);
}