#F04CC8#F04CC8

#F04CC8 is a light, highly saturated pink. Relative luminance 0.279; OKLCH L 68.4% C 0.235 H 339.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#F04CC8
RGBrgb(240, 76, 200)
HSLhsl(315, 85%, 62%)
HSVhsv(315, 68%, 94%)
CMYKcmyk(0%, 68.3%, 16.7%, 5.9%)
CIE-LABlab(59.77, 74.18, -30.96)
CIE-LCHlch(59.77, 80.38, 337.35°)
OKLaboklab(68.42% 0.2201 -0.0837)
OKLCHoklch(68.42% 0.235 339.2)
XYZxyz(48.9461, 27.8688, 57.4338)
Luminance0.2786 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04CC8 #4CF074
analogous
#C64CF0 #F04CC8 #F04C76
triadic
#F04CC8 #C8F04C #4CC8F0
tetradic
#F04CC8 #F0C64C #4CF074 #4C76F0
square
#F04CC8 #F0C64C #4CF074 #4C76F0
split-complementary
#F04CC8 #76F04C #4CF0C6
monochromatic
#B30F8B #EB14B7 #F04CC8 #F584D9 #F9BDEB

Accessibility & contrast

On white

3.19
#F04CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#F04CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04CC8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04CC8#FFFFFF#000000##000000
##F04CC81.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCC
Deuteranopia (green-blind)
#8999C4
Tritanopia (blue-blind)
#FD5284
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04cc8;
/* rgb */ color: rgb(240, 76, 200);
/* oklch */ color: oklch(68.4% 0.235 339.2);
Tailwind
colors: {
  custom: {
    50: '#f98ad9',
    500: '#f04cc8',
    950: '#000000',
  },
}
SCSS
$custom: #f04cc8;
$custom-light: #f98ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#f04cc8",
  "rgb": {
    "r": 240,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 314.634,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.68424,
    "c": 0.23547,
    "h": 339.2
  },
  "luminance": 0.27864
}

Semantic roles & 50–950 ramp

primary
#F04CC8
secondary
#AEEABC
accent
#E13A04
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F04CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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