#F054D6#F054D6

#F054D6 is a light, highly saturated pink. Relative luminance 0.297; OKLCH L 69.8% C 0.235 H 335.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#F054D6
RGBrgb(240, 84, 214)
HSLhsl(310, 84%, 64%)
HSVhsv(310, 65%, 94%)
CMYKcmyk(0%, 65%, 10.8%, 5.9%)
CIE-LABlab(61.42, 73.25, -36.33)
CIE-LCHlch(61.42, 81.77, 333.62°)
OKLaboklab(69.82% 0.2133 -0.099)
OKLCHoklch(69.82% 0.235 335.1)
XYZxyz(51.2436, 29.7252, 66.6439)
Luminance0.2972 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054D6 #54F06E
analogous
#BC54F0 #F054D6 #F05488
triadic
#F054D6 #D6F054 #54D6F0
tetradic
#F054D6 #F0BC54 #54F06E #5488F0
square
#F054D6 #F0BC54 #54F06E #5488F0
split-complementary
#F054D6 #88F054 #54F0BC
monochromatic
#B9109D #EB1CC9 #F054D6 #F58CE3 #FAC5F1

Accessibility & contrast

On white

3.02
#F054D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#F054D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F054D6
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054D6#FFFFFF#000000##000000
##F054D61.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5485DA
Deuteranopia (green-blind)
#879DD2
Tritanopia (blue-blind)
#FB5F8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f054d6;
/* rgb */ color: rgb(240, 84, 214);
/* oklch */ color: oklch(69.8% 0.235 335.1);
Tailwind
colors: {
  custom: {
    50: '#f98fe3',
    500: '#f054d6',
    950: '#000000',
  },
}
SCSS
$custom: #f054d6;
$custom-light: #f98fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#f054d6",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 310,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69819,
    "c": 0.23516,
    "h": 335.1
  },
  "luminance": 0.29721
}

Semantic roles & 50–950 ramp

primary
#F054D6
secondary
#B4ECBD
accent
#E02A05
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F054D6

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

Preview Lab → · Contrast checker → · Palette generator →

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