#F04CC6#F04CC6

#F04CC6 is a light, highly saturated pink. Relative luminance 0.278; OKLCH L 68.3% C 0.234 H 339.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#F04CC6
RGBrgb(240, 76, 198)
HSLhsl(315, 85%, 62%)
HSVhsv(315, 68%, 94%)
CMYKcmyk(0%, 68.3%, 17.5%, 5.9%)
CIE-LABlab(59.69, 73.90, -29.95)
CIE-LCHlch(59.69, 79.74, 337.94°)
OKLaboklab(68.34% 0.2198 -0.0808)
OKLCHoklch(68.34% 0.234 339.8)
XYZxyz(48.7139, 27.7760, 56.2109)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04CC6 #4CF076
analogous
#C84CF0 #F04CC6 #F04C74
triadic
#F04CC6 #C6F04C #4CC6F0
tetradic
#F04CC6 #F0C84C #4CF076 #4C74F0
square
#F04CC6 #F0C84C #4CF076 #4C74F0
split-complementary
#F04CC6 #74F04C #4CF0C8
monochromatic
#B30F89 #EB14B4 #F04CC6 #F584D8 #F9BDEA

Accessibility & contrast

On white

3.20
#F04CC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#F04CC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04CC6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04CC6#FFFFFF#000000##000000
##F04CC61.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC9
Deuteranopia (green-blind)
#8A99C2
Tritanopia (blue-blind)
#FE5183
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04cc6;
/* rgb */ color: rgb(240, 76, 198);
/* oklch */ color: oklch(68.3% 0.234 339.8);
Tailwind
colors: {
  custom: {
    50: '#f98ad7',
    500: '#f04cc6',
    950: '#000000',
  },
}
SCSS
$custom: #f04cc6;
$custom-light: #f98ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#f04cc6",
  "rgb": {
    "r": 240,
    "g": 76,
    "b": 198
  },
  "hsl": {
    "h": 315.366,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.23419,
    "h": 339.8
  },
  "luminance": 0.27771
}

Semantic roles & 50–950 ramp

primary
#F04CC6
secondary
#AEEABD
accent
#E13D04
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F04CC6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F04CC6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva