#F054D4#F054D4

#F054D4 is a light, highly saturated pink. Relative luminance 0.296; OKLCH L 69.7% C 0.234 H 335.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#F054D4
RGBrgb(240, 84, 212)
HSLhsl(311, 84%, 64%)
HSVhsv(311, 65%, 94%)
CMYKcmyk(0%, 65%, 11.7%, 5.9%)
CIE-LABlab(61.33, 72.96, -35.34)
CIE-LCHlch(61.33, 81.07, 334.15°)
OKLaboklab(69.73% 0.2131 -0.0962)
OKLCHoklch(69.73% 0.234 335.7)
XYZxyz(50.9898, 29.6237, 65.3070)
Luminance0.2962 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054D4 #54F070
analogous
#BE54F0 #F054D4 #F05486
triadic
#F054D4 #D4F054 #54D4F0
tetradic
#F054D4 #F0BE54 #54F070 #5486F0
square
#F054D4 #F0BE54 #54F070 #5486F0
split-complementary
#F054D4 #86F054 #54F0BE
monochromatic
#B9109B #EB1CC6 #F054D4 #F58CE2 #FAC5F0

Accessibility & contrast

On white

3.03
#F054D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#F054D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F054D4
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054D4#FFFFFF#000000##000000
##F054D41.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5585D8
Deuteranopia (green-blind)
#889DD0
Tritanopia (blue-blind)
#FC5E8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f054d4;
/* rgb */ color: rgb(240, 84, 212);
/* oklch */ color: oklch(69.7% 0.234 335.7);
Tailwind
colors: {
  custom: {
    50: '#f98fe1',
    500: '#f054d4',
    950: '#000000',
  },
}
SCSS
$custom: #f054d4;
$custom-light: #f98fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#f054d4",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 310.769,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69726,
    "c": 0.23377,
    "h": 335.7
  },
  "luminance": 0.29619
}

Semantic roles & 50–950 ramp

primary
#F054D4
secondary
#B4ECBE
accent
#E02D05
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F054D4

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

Preview Lab → · Contrast checker → · Palette generator →

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