#F054A2#F054A2

#F054A2 is a light, highly saturated pink. Relative luminance 0.275; OKLCH L 67.7% C 0.204 H 353.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#F054A2
RGBrgb(240, 84, 162)
HSLhsl(330, 84%, 64%)
HSVhsv(330, 65%, 94%)
CMYKcmyk(0%, 65%, 32.5%, 5.9%)
CIE-LABlab(59.42, 66.44, -9.63)
CIE-LCHlch(59.42, 67.13, 351.75°)
OKLaboklab(67.7% 0.2028 -0.0247)
OKLCHoklch(67.7% 0.204 353.1)
XYZxyz(45.6295, 27.4796, 37.0765)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054A2 #54F0A2
analogous
#F054F0 #F054A2 #F05454
triadic
#F054A2 #A2F054 #54A2F0
tetradic
#F054A2 #F0F054 #54F0A2 #5454F0
square
#F054A2 #F0F054 #54F0A2 #5454F0
split-complementary
#F054A2 #54F054 #54F0F0
monochromatic
#B91065 #EB1C83 #F054A2 #F58CC1 #FAC5DF

Accessibility & contrast

On white

3.23
#F054A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#F054A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F054A2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054A2#FFFFFF#000000##000000
##F054A21.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#98999E
Tritanopia (blue-blind)
#FF4974
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #f054a2;
/* rgb */ color: rgb(240, 84, 162);
/* oklch */ color: oklch(67.7% 0.204 353.1);
Tailwind
colors: {
  custom: {
    50: '#f98dbd',
    500: '#f054a2',
    950: '#000000',
  },
}
SCSS
$custom: #f054a2;
$custom-light: #f98dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#f054a2",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 330,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67699,
    "c": 0.20431,
    "h": 353.1
  },
  "luminance": 0.27475
}

Semantic roles & 50–950 ramp

primary
#F054A2
secondary
#B4ECD0
accent
#E07305
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #F054A2

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

Preview Lab → · Contrast checker → · Palette generator →

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