#F04FCC#F04FCC

#F04FCC is a light, highly saturated pink. Relative luminance 0.285; OKLCH L 68.9% C 0.234 H 338.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#F04FCC
RGBrgb(240, 79, 204)
HSLhsl(313, 84%, 63%)
HSVhsv(313, 67%, 94%)
CMYKcmyk(0%, 67.1%, 15%, 5.9%)
CIE-LABlab(60.32, 73.66, -32.38)
CIE-LCHlch(60.32, 80.46, 336.27°)
OKLaboklab(68.88% 0.2175 -0.0877)
OKLCHoklch(68.88% 0.235 338)
XYZxyz(49.6312, 28.4813, 59.9986)
Luminance0.2848 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FCC #4FF073
analogous
#C34FF0 #F04FCC #F04F7C
triadic
#F04FCC #CCF04F #4FCCF0
tetradic
#F04FCC #F0C34F #4FF073 #4F7CF0
square
#F04FCC #F0C34F #4FF073 #4F7CF0
split-complementary
#F04FCC #7CF04F #4FF0C3
monochromatic
#B50F90 #EB17BC #F04FCC #F587DC #FAC0ED

Accessibility & contrast

On white

3.14
#F04FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#F04FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04FCC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04FCC#FFFFFF#000000##000000
##F04FCC1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581D0
Deuteranopia (green-blind)
#899AC8
Tritanopia (blue-blind)
#FD5687
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #f04fcc;
/* rgb */ color: rgb(240, 79, 204);
/* oklch */ color: oklch(68.9% 0.234 338.0);
Tailwind
colors: {
  custom: {
    50: '#f98cdc',
    500: '#f04fcc',
    950: '#000000',
  },
}
SCSS
$custom: #f04fcc;
$custom-light: #f98cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#f04fcc",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 313.416,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6888,
    "c": 0.2345,
    "h": 338
  },
  "luminance": 0.28477
}

Semantic roles & 50–950 ramp

primary
#F04FCC
secondary
#B0EBBD
accent
#E13605
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F04FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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