#F04DC7#F04DC7

#F04DC7 is a light, highly saturated pink. Relative luminance 0.280; OKLCH L 68.5% C 0.234 H 339.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#F04DC7
RGBrgb(240, 77, 199)
HSLhsl(315, 84%, 62%)
HSVhsv(315, 68%, 94%)
CMYKcmyk(0%, 67.9%, 17.1%, 5.9%)
CIE-LABlab(59.85, 73.69, -30.26)
CIE-LCHlch(59.85, 79.66, 337.68°)
OKLaboklab(68.47% 0.2189 -0.0817)
OKLCHoklch(68.47% 0.234 339.5)
XYZxyz(48.8990, 27.9611, 56.8435)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DC7 #4DF076
analogous
#C84DF0 #F04DC7 #F04D76
triadic
#F04DC7 #C7F04D #4DC7F0
tetradic
#F04DC7 #F0C84D #4DF076 #4D76F0
square
#F04DC7 #F0C84D #4DF076 #4D76F0
split-complementary
#F04DC7 #76F04D #4DF0C8
monochromatic
#B30F8A #EB15B5 #F04DC7 #F585D9 #FABEEB

Accessibility & contrast

On white

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

On black

6.59
#F04DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04DC7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04DC7#FFFFFF#000000##000000
##F04DC71.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CA
Deuteranopia (green-blind)
#8A9AC3
Tritanopia (blue-blind)
#FD5284
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04dc7;
/* rgb */ color: rgb(240, 77, 199);
/* oklch */ color: oklch(68.5% 0.234 339.5);
Tailwind
colors: {
  custom: {
    50: '#f98bd8',
    500: '#f04dc7',
    950: '#000000',
  },
}
SCSS
$custom: #f04dc7;
$custom-light: #f98bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#f04dc7",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 315.092,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68471,
    "c": 0.23364,
    "h": 339.5
  },
  "luminance": 0.27957
}

Semantic roles & 50–950 ramp

primary
#F04DC7
secondary
#AEEABE
accent
#E13C05
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F04DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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