#F054D5#F054D5

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

Color values

HEX#F054D5
RGBrgb(240, 84, 213)
HSLhsl(310, 84%, 64%)
HSVhsv(310, 65%, 94%)
CMYKcmyk(0%, 65%, 11.2%, 5.9%)
CIE-LABlab(61.37, 73.11, -35.84)
CIE-LCHlch(61.37, 81.42, 333.89°)
OKLaboklab(69.77% 0.2132 -0.0976)
OKLCHoklch(69.77% 0.234 335.4)
XYZxyz(51.1163, 29.6743, 65.9734)
Luminance0.2967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054D5 #54F06F
analogous
#BD54F0 #F054D5 #F05487
triadic
#F054D5 #D5F054 #54D5F0
tetradic
#F054D5 #F0BD54 #54F06F #5487F0
square
#F054D5 #F0BD54 #54F06F #5487F0
split-complementary
#F054D5 #87F054 #54F0BD
monochromatic
#B9109C #EB1CC7 #F054D5 #F58CE3 #FAC5F1

Accessibility & contrast

On white

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

On black

6.93
#F054D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F054D5
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054D5#FFFFFF#000000##000000
##F054D51.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5485D9
Deuteranopia (green-blind)
#889DD1
Tritanopia (blue-blind)
#FB5E8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f054d5;
/* rgb */ color: rgb(240, 84, 213);
/* oklch */ color: oklch(69.8% 0.234 335.4);
Tailwind
colors: {
  custom: {
    50: '#f98fe2',
    500: '#f054d5',
    950: '#000000',
  },
}
SCSS
$custom: #f054d5;
$custom-light: #f98fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#f054d5",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 310.385,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69773,
    "c": 0.23446,
    "h": 335.4
  },
  "luminance": 0.2967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F054D5

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

Preview Lab → · Contrast checker → · Palette generator →

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