#F04DC6#F04DC6

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

Color values

HEX#F04DC6
RGBrgb(240, 77, 198)
HSLhsl(315, 84%, 62%)
HSVhsv(315, 68%, 94%)
CMYKcmyk(0%, 67.9%, 17.5%, 5.9%)
CIE-LABlab(59.81, 73.55, -29.75)
CIE-LCHlch(59.81, 79.34, 337.98°)
OKLaboklab(68.43% 0.2187 -0.0803)
OKLCHoklch(68.43% 0.233 339.9)
XYZxyz(48.7833, 27.9148, 56.2340)
Luminance0.2791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DC6 #4DF077
analogous
#C84DF0 #F04DC6 #F04D75
triadic
#F04DC6 #C6F04D #4DC6F0
tetradic
#F04DC6 #F0C84D #4DF077 #4D75F0
square
#F04DC6 #F0C84D #4DF077 #4D75F0
split-complementary
#F04DC6 #75F04D #4DF0C8
monochromatic
#B30F89 #EB15B4 #F04DC6 #F585D8 #FABEEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F04DC6#FFFFFF#000000##000000
##F04DC61.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)
#5780C9
Deuteranopia (green-blind)
#8A99C2
Tritanopia (blue-blind)
#FE5283
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04dc6;
/* rgb */ color: rgb(240, 77, 198);
/* oklch */ color: oklch(68.4% 0.233 339.9);
Tailwind
colors: {
  custom: {
    50: '#f98bd7',
    500: '#f04dc6',
    950: '#000000',
  },
}
SCSS
$custom: #f04dc6;
$custom-light: #f98bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#f04dc6",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 315.46,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68427,
    "c": 0.233,
    "h": 339.9
  },
  "luminance": 0.2791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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