Nearest named color · #CF4A2A
#CF4A2A
Nearest named color: Peanut Butter Jelly
#CF4A2A (rgb(207 74 42), hsl(12 66% 49%), oklch(0.587 0.175 34.7)) is closest to the named color Peanut Butter Jelly. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#CF4A2A
oklch(0.587 0.175 34.7)
Color conversions
- 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%)
Tints · Shades · Tones
Tints
- D65F42
- DD7258
- E3846D
- E99682
- EEA896
- F3B9AB
- F7CBC0
- FADCD4
- FDEEEA
Shades
- B43F23
- 99351C
- 7F2A16
- 672010
- 4F170A
- 380E05
- 230602
- 100201
- 020000
Tones
- C85236
- C25941
- BB604A
- B36653
- AC6B5B
- A47063
- 9C746A
- 937872
- 8A7C79
Color harmonies
Complementary +180°
- CF4A2A
Peanut Butter Jelly
- 008CA2
≈ Parrot Flight
Analogous -30° +30°
- CF4A2A
Peanut Butter Jelly
- CC446F
≈ Dark Pink
- B16900
≈ Pumpkin Spice
Triadic +120° +240°
- CF4A2A
Peanut Butter Jelly
- 009553
≈ Garnish
- 606EE2
≈ Exodus Fruit
Split-complementary +150° +210°
- CF4A2A
Peanut Butter Jelly
- 009084
≈ Emerald Coast
- 0083CD
≈ Lvivian Rain
Tetradic +90° +180° +270°
- CF4A2A
Peanut Butter Jelly
- 698A00
≈ Italian Buckthorn
- 008CA2
≈ Parrot Flight
- 955BCE
≈ Morado Purple
Contrast & accessibility
Ag
AAOn white
WCAG 4.50:1 · APCA Lc 70
Ag
AAOn black
WCAG 4.66:1 · APCA Lc 31
Best text color: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
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);
}