#F04DC9#F04DC9

#F04DC9 is a light, highly saturated pink. Relative luminance 0.281; OKLCH L 68.6% C 0.235 H 338.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#F04DC9
RGBrgb(240, 77, 201)
HSLhsl(314, 84%, 62%)
HSVhsv(314, 68%, 94%)
CMYKcmyk(0%, 67.9%, 16.3%, 5.9%)
CIE-LABlab(59.94, 73.96, -31.27)
CIE-LCHlch(59.94, 80.30, 337.08°)
OKLaboklab(68.56% 0.2192 -0.0845)
OKLCHoklch(68.56% 0.235 338.9)
XYZxyz(49.1328, 28.0546, 58.0745)
Luminance0.2805 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DC9 #4DF074
analogous
#C64DF0 #F04DC9 #F04D78
triadic
#F04DC9 #C9F04D #4DC9F0
tetradic
#F04DC9 #F0C64D #4DF074 #4D78F0
square
#F04DC9 #F0C64D #4DF074 #4D78F0
split-complementary
#F04DC9 #78F04D #4DF0C6
monochromatic
#B30F8C #EB15B8 #F04DC9 #F585DA #FABEEB

Accessibility & contrast

On white

3.18
#F04DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#F04DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04DC9
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04DC9#FFFFFF#000000##000000
##F04DC91.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#899AC5
Tritanopia (blue-blind)
#FD5385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04dc9;
/* rgb */ color: rgb(240, 77, 201);
/* oklch */ color: oklch(68.6% 0.235 338.9);
Tailwind
colors: {
  custom: {
    50: '#f98bd9',
    500: '#f04dc9',
    950: '#000000',
  },
}
SCSS
$custom: #f04dc9;
$custom-light: #f98bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#f04dc9",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 314.356,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6856,
    "c": 0.23493,
    "h": 338.9
  },
  "luminance": 0.2805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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