#F04DC5#F04DC5

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

Color values

HEX#F04DC5
RGBrgb(240, 77, 197)
HSLhsl(316, 84%, 62%)
HSVhsv(316, 68%, 94%)
CMYKcmyk(0%, 67.9%, 17.9%, 5.9%)
CIE-LABlab(59.77, 73.42, -29.25)
CIE-LCHlch(59.77, 79.03, 338.28°)
OKLaboklab(68.38% 0.2186 -0.0788)
OKLCHoklch(68.38% 0.232 340.2)
XYZxyz(48.6683, 27.8688, 55.6286)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DC5 #4DF078
analogous
#C94DF0 #F04DC5 #F04D74
triadic
#F04DC5 #C5F04D #4DC5F0
tetradic
#F04DC5 #F0C94D #4DF078 #4D74F0
square
#F04DC5 #F0C94D #4DF078 #4D74F0
split-complementary
#F04DC5 #74F04D #4DF0C9
monochromatic
#B30F88 #EB15B3 #F04DC5 #F585D7 #FABEEA

Accessibility & contrast

On white

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

On black

6.57
#F04DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04DC5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04DC5#FFFFFF#000000##000000
##F04DC51.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC8
Deuteranopia (green-blind)
#8B99C1
Tritanopia (blue-blind)
#FE5183
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04dc5;
/* rgb */ color: rgb(240, 77, 197);
/* oklch */ color: oklch(68.4% 0.232 340.2);
Tailwind
colors: {
  custom: {
    50: '#f98bd7',
    500: '#f04dc5',
    950: '#000000',
  },
}
SCSS
$custom: #f04dc5;
$custom-light: #f98bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#f04dc5",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 315.828,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68383,
    "c": 0.23236,
    "h": 340.2
  },
  "luminance": 0.27864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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