#F054CD#F054CD

#F054CD is a light, highly saturated pink. Relative luminance 0.293; OKLCH L 69.4% C 0.229 H 337.9°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#F054CD
RGBrgb(240, 84, 205)
HSLhsl(313, 84%, 64%)
HSVhsv(313, 65%, 94%)
CMYKcmyk(0%, 65%, 14.6%, 5.9%)
CIE-LABlab(61.03, 71.96, -31.85)
CIE-LCHlch(61.03, 78.69, 336.12°)
OKLaboklab(69.41% 0.2121 -0.0863)
OKLCHoklch(69.41% 0.229 337.9)
XYZxyz(50.1258, 29.2781, 60.7570)
Luminance0.2927 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054CD #54F077
analogous
#C554F0 #F054CD #F0547F
triadic
#F054CD #CDF054 #54CDF0
tetradic
#F054CD #F0C554 #54F077 #547FF0
square
#F054CD #F0C554 #54F077 #547FF0
split-complementary
#F054CD #7FF054 #54F0C5
monochromatic
#B91093 #EB1CBD #F054CD #F58CDD #FAC5EE

Accessibility & contrast

On white

3.06
#F054CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#F054CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F054CD
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054CD#FFFFFF#000000##000000
##F054CD1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D1
Deuteranopia (green-blind)
#8B9CC9
Tritanopia (blue-blind)
#FD5B89
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f054cd;
/* rgb */ color: rgb(240, 84, 205);
/* oklch */ color: oklch(69.4% 0.229 337.9);
Tailwind
colors: {
  custom: {
    50: '#f98edc',
    500: '#f054cd',
    950: '#000000',
  },
}
SCSS
$custom: #f054cd;
$custom-light: #f98edc;
$custom-dark: #000000;
JSON
{
  "hex": "#f054cd",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 313.462,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69408,
    "c": 0.22897,
    "h": 337.9
  },
  "luminance": 0.29274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F054CD

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

Preview Lab → · Contrast checker → · Palette generator →

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