#F04CC9#F04CC9

#F04CC9 is a light, highly saturated pink. Relative luminance 0.279; OKLCH L 68.5% C 0.236 H 338.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#F04CC9
RGBrgb(240, 76, 201)
HSLhsl(314, 85%, 62%)
HSVhsv(314, 68%, 94%)
CMYKcmyk(0%, 68.3%, 16.3%, 5.9%)
CIE-LABlab(59.81, 74.31, -31.46)
CIE-LCHlch(59.81, 80.70, 337.05°)
OKLaboklab(68.47% 0.2203 -0.0851)
OKLCHoklch(68.47% 0.236 338.9)
XYZxyz(49.0633, 27.9157, 58.0513)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04CC9 #4CF073
analogous
#C54CF0 #F04CC9 #F04C77
triadic
#F04CC9 #C9F04C #4CC9F0
tetradic
#F04CC9 #F0C54C #4CF073 #4C77F0
square
#F04CC9 #F0C54C #4CF073 #4C77F0
split-complementary
#F04CC9 #77F04C #4CF0C5
monochromatic
#B30F8C #EB14B8 #F04CC9 #F584DA #F9BDEB

Accessibility & contrast

On white

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

On black

6.58
#F04CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04CC9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04CC9#FFFFFF#000000##000000
##F04CC91.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#8999C5
Tritanopia (blue-blind)
#FD5284
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04cc9;
/* rgb */ color: rgb(240, 76, 201);
/* oklch */ color: oklch(68.5% 0.236 338.9);
Tailwind
colors: {
  custom: {
    50: '#f98ad9',
    500: '#f04cc9',
    950: '#000000',
  },
}
SCSS
$custom: #f04cc9;
$custom-light: #f98ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#f04cc9",
  "rgb": {
    "r": 240,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 314.268,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.68469,
    "c": 0.23612,
    "h": 338.9
  },
  "luminance": 0.27911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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