#F054C5#F054C5

#F054C5 is a light, highly saturated pink. Relative luminance 0.289; OKLCH L 69.1% C 0.224 H 340.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#F054C5
RGBrgb(240, 84, 197)
HSLhsl(317, 84%, 64%)
HSVhsv(317, 65%, 94%)
CMYKcmyk(0%, 65%, 17.9%, 5.9%)
CIE-LABlab(60.69, 70.84, -27.82)
CIE-LCHlch(60.69, 76.11, 338.56°)
OKLaboklab(69.06% 0.2108 -0.0748)
OKLCHoklch(69.06% 0.224 340.5)
XYZxyz(49.1848, 28.9017, 55.8007)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054C5 #54F07F
analogous
#CD54F0 #F054C5 #F05477
triadic
#F054C5 #C5F054 #54C5F0
tetradic
#F054C5 #F0CD54 #54F07F #5477F0
square
#F054C5 #F0CD54 #54F07F #5477F0
split-complementary
#F054C5 #77F054 #54F0CD
monochromatic
#B9108B #EB1CB2 #F054C5 #F58CD8 #FAC5EB

Accessibility & contrast

On white

3.10
#F054C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#F054C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F054C5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054C5#FFFFFF#000000##000000
##F054C51.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E82C8
Deuteranopia (green-blind)
#8E9CC1
Tritanopia (blue-blind)
#FE5885
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f054c5;
/* rgb */ color: rgb(240, 84, 197);
/* oklch */ color: oklch(69.1% 0.224 340.5);
Tailwind
colors: {
  custom: {
    50: '#f98ed6',
    500: '#f054c5',
    950: '#000000',
  },
}
SCSS
$custom: #f054c5;
$custom-light: #f98ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#f054c5",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 316.538,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69057,
    "c": 0.2237,
    "h": 340.5
  },
  "luminance": 0.28897
}

Semantic roles & 50–950 ramp

primary
#F054C5
secondary
#B4ECC3
accent
#E04205
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F054C5

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

Preview Lab → · Contrast checker → · Palette generator →

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