#F054CC#F054CC

#F054CC is a light, highly saturated pink. Relative luminance 0.292; OKLCH L 69.4% C 0.228 H 338.2°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#F054CC
RGBrgb(240, 84, 204)
HSLhsl(314, 84%, 64%)
HSVhsv(314, 65%, 94%)
CMYKcmyk(0%, 65%, 15%, 5.9%)
CIE-LABlab(60.98, 71.81, -31.35)
CIE-LCHlch(60.98, 78.36, 336.42°)
OKLaboklab(69.36% 0.212 -0.0848)
OKLCHoklch(69.36% 0.228 338.2)
XYZxyz(50.0055, 29.2300, 60.1234)
Luminance0.2923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054CC #54F078
analogous
#C654F0 #F054CC #F0547E
triadic
#F054CC #CCF054 #54CCF0
tetradic
#F054CC #F0C654 #54F078 #547EF0
square
#F054CC #F0C654 #54F078 #547EF0
split-complementary
#F054CC #7EF054 #54F0C6
monochromatic
#B91092 #EB1CBB #F054CC #F58CDD #FAC5EE

Accessibility & contrast

On white

3.07
#F054CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#F054CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F054CC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054CC#FFFFFF#000000##000000
##F054CC1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#FD5A89
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f054cc;
/* rgb */ color: rgb(240, 84, 204);
/* oklch */ color: oklch(69.4% 0.228 338.2);
Tailwind
colors: {
  custom: {
    50: '#f98edc',
    500: '#f054cc',
    950: '#000000',
  },
}
SCSS
$custom: #f054cc;
$custom-light: #f98edc;
$custom-dark: #000000;
JSON
{
  "hex": "#f054cc",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 313.846,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69363,
    "c": 0.2283,
    "h": 338.2
  },
  "luminance": 0.29226
}

Semantic roles & 50–950 ramp

primary
#F054CC
secondary
#B4ECC1
accent
#E03805
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F054CC

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

Preview Lab → · Contrast checker → · Palette generator →

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