#F054CB#F054CB

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

Color values

HEX#F054CB
RGBrgb(240, 84, 203)
HSLhsl(314, 84%, 64%)
HSVhsv(314, 65%, 94%)
CMYKcmyk(0%, 65%, 15.4%, 5.9%)
CIE-LABlab(60.94, 71.67, -30.85)
CIE-LCHlch(60.94, 78.03, 336.71°)
OKLaboklab(69.32% 0.2118 -0.0834)
OKLCHoklch(69.32% 0.228 338.5)
XYZxyz(49.8860, 29.1821, 59.4937)
Luminance0.2918 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054CB #54F079
analogous
#C754F0 #F054CB #F0547D
triadic
#F054CB #CBF054 #54CBF0
tetradic
#F054CB #F0C754 #54F079 #547DF0
square
#F054CB #F0C754 #54F079 #547DF0
split-complementary
#F054CB #7DF054 #54F0C7
monochromatic
#B91091 #EB1CBA #F054CB #F58CDC #FAC5ED

Accessibility & contrast

On white

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

On black

6.84
#F054CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F054CB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054CB#FFFFFF#000000##000000
##F054CB1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CF
Deuteranopia (green-blind)
#8C9CC7
Tritanopia (blue-blind)
#FD5A88
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f054cb;
/* rgb */ color: rgb(240, 84, 203);
/* oklch */ color: oklch(69.3% 0.228 338.5);
Tailwind
colors: {
  custom: {
    50: '#f98edb',
    500: '#f054cb',
    950: '#000000',
  },
}
SCSS
$custom: #f054cb;
$custom-light: #f98edb;
$custom-dark: #000000;
JSON
{
  "hex": "#f054cb",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 314.231,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69319,
    "c": 0.22762,
    "h": 338.5
  },
  "luminance": 0.29178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F054CB

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

Preview Lab → · Contrast checker → · Palette generator →

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