Nearest named color · #F5B6B4
#F5B6B4
Nearest named color: Hard Candy
#F5B6B4 (rgb(245 182 180), hsl(2 76% 83%), oklch(0.834 0.074 20.8)) is closest to the named color Hard Candy. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#F5B6B4
oklch(0.834 0.074 20.8)
Color conversions
- HEX
- #f5b6b4
- RGB
- rgb(245 182 180)
- HSL
- hsl(2 76% 83%)
- HWB
- hwb(2 71% 4%)
- OKLCH
- oklch(0.834 0.074 20.8)
- OKLab
- oklab(0.834 0.069 0.026)
- CIE Lab
- lab(79.96 23.33 10.46)
- LCH
- lch(79.96 25.57 24.1)
- CMYK
- cmyk(0% 26% 27% 4%)
Tints · Shades · Tones
Tints
- F7BDBB
- F8C5C3
- F9CCCA
- FAD3D2
- FBDAD9
- FCE2E1
- FDE9E8
- FEF0F0
- FFF8F7
Shades
- D59E9C
- B68685
- 986F6E
- 7B5958
- 5F4444
- 443030
- 2B1D1D
- 150C0C
- 030202
Tones
- E9B1AF
- DDABA9
- D1A6A4
- C5A09F
- BA9B9A
- AE9695
- A3908F
- 978B8A
- 8B8585
Color harmonies
Complementary +180°
- F5B6B4
Hard Candy
- 8DD7DC
≈ Vibrant Soft Blue
Analogous -30° +30°
- F5B6B4
Hard Candy
- EFB5CE
≈ Bunny Cake
- F0BB9D
≈ Tan Temptation
Triadic +120° +240°
- F5B6B4
Hard Candy
- AFD5A8
≈ In Good Taste
- AECAF9
≈ Night Snow
Split-complementary +150° +210°
- F5B6B4
Hard Candy
- 97D9C2
≈ Pageant Green
- 97D2F0
≈ Slightly Spritzig
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
FailOn white
WCAG 1.71:1 · APCA Lc 31
Ag
AAAOn black
WCAG 12.23:1 · APCA Lc 72
Best text color: #000000
WCAG 12.23:1 (AAA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--hard-candy: #f5b6b4;
--hard-candy-rgb: 245 182 180;
--hard-candy-oklch: oklch(0.834 0.074 20.8);
}
.element {
color: var(--hard-candy);
background-color: hsl(2 76% 83%);
border-color: oklch(0.834 0.074 20.8);
}Tailwind CSS v4
@theme {
--color-hard-candy: #f5b6b4;
--color-hard-candy-50: #ffedeb;
--color-hard-candy-100: #ffdfdc;
--color-hard-candy-200: #f2c9c6;
--color-hard-candy-300: #dba9a6;
--color-hard-candy-400: #c68d8c;
--color-hard-candy-500: #b27271;
--color-hard-candy-600: #966160;
--color-hard-candy-700: #794d4d;
--color-hard-candy-800: #593838;
--color-hard-candy-900: #3e2626;
--color-hard-candy-950: #271415;
}SCSS
$hard-candy: #f5b6b4;
$hard-candy-rgb: 245, 182, 180;
$hard-candy-light: mix(#fff, $hard-candy, 20%);
$hard-candy-dark: mix(#000, $hard-candy, 20%);
.element {
color: $hard-candy;
box-shadow: 0 0 0 2px rgba($hard-candy, 0.35);
}