#F04DC4#F04DC4

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

Color values

HEX#F04DC4
RGBrgb(240, 77, 196)
HSLhsl(316, 84%, 62%)
HSVhsv(316, 68%, 94%)
CMYKcmyk(0%, 67.9%, 18.3%, 5.9%)
CIE-LABlab(59.73, 73.28, -28.74)
CIE-LCHlch(59.73, 78.72, 338.59°)
OKLaboklab(68.34% 0.2184 -0.0774)
OKLCHoklch(68.34% 0.232 340.5)
XYZxyz(48.5542, 27.8232, 55.0271)
Luminance0.2782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DC4 #4DF079
analogous
#CA4DF0 #F04DC4 #F04D73
triadic
#F04DC4 #C4F04D #4DC4F0
tetradic
#F04DC4 #F0CA4D #4DF079 #4D73F0
square
#F04DC4 #F0CA4D #4DF079 #4D73F0
split-complementary
#F04DC4 #73F04D #4DF0CA
monochromatic
#B30F87 #EB15B1 #F04DC4 #F585D7 #FABEE9

Accessibility & contrast

On white

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

On black

6.56
#F04DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04DC4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04DC4#FFFFFF#000000##000000
##F04DC41.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC7
Deuteranopia (green-blind)
#8B99C0
Tritanopia (blue-blind)
#FE5182
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04dc4;
/* rgb */ color: rgb(240, 77, 196);
/* oklch */ color: oklch(68.3% 0.232 340.5);
Tailwind
colors: {
  custom: {
    50: '#f98bd6',
    500: '#f04dc4',
    950: '#000000',
  },
}
SCSS
$custom: #f04dc4;
$custom-light: #f98bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#f04dc4",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 316.196,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68339,
    "c": 0.23174,
    "h": 340.5
  },
  "luminance": 0.27819
}

Semantic roles & 50–950 ramp

primary
#F04DC4
secondary
#AEEABF
accent
#E14005
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F04DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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