#F54F8A#F54F8A

#F54F8A is a light, highly saturated pink. Relative luminance 0.268; OKLCH L 67.2% C 0.206 H 2.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#F54F8A
RGBrgb(245, 79, 138)
HSLhsl(339, 89%, 64%)
HSVhsv(339, 68%, 96%)
CMYKcmyk(0%, 67.8%, 43.7%, 3.9%)
CIE-LABlab(58.83, 67.28, 3.60)
CIE-LCHlch(58.83, 67.37, 3.06°)
OKLaboklab(67.19% 0.2058 0.01)
OKLCHoklch(67.19% 0.206 2.8)
XYZxyz(45.0430, 26.8451, 26.8495)
Luminance0.2684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F54F8A #4FF5BA
analogous
#F54FDD #F54F8A #F5674F
triadic
#F54F8A #8AF54F #4F8AF5
tetradic
#F54F8A #DDF54F #4FF5BA #674FF5
square
#F54F8A #DDF54F #4FF5BA #674FF5
split-complementary
#F54F8A #4FF567 #4FDDF5
monochromatic
#BF0B4B #F21564 #F54F8A #F889B0 #FCC3D7

Accessibility & contrast

On white

3.30
#F54F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#F54F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F54F8A
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F54F8A#FFFFFF#000000##000000
##F54F8A1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72798B
Deuteranopia (green-blind)
#9F9986
Tritanopia (blue-blind)
#FF3767
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #f54f8a;
/* rgb */ color: rgb(245, 79, 138);
/* oklch */ color: oklch(67.2% 0.206 2.8);
Tailwind
colors: {
  custom: {
    50: '#fe8bab',
    500: '#f54f8a',
    950: '#000000',
  },
}
SCSS
$custom: #f54f8a;
$custom-light: #fe8bab;
$custom-dark: #000000;
JSON
{
  "hex": "#f54f8a",
  "rgb": {
    "r": 245,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 338.675,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67188,
    "c": 0.20604,
    "h": 2.8
  },
  "luminance": 0.26839
}

Semantic roles & 50–950 ramp

primary
#F54F8A
secondary
#B2EDD8
accent
#E69400
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#190D10
muted
#877E7F

Preview Lab

Preview with #F54F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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