#F04F84#F04F84

#F04F84 is a light, vivid pink. Relative luminance 0.258; OKLCH L 66.2% C 0.200 H 4.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#F04F84
RGBrgb(240, 79, 132)
HSLhsl(340, 84%, 63%)
HSVhsv(340, 67%, 94%)
CMYKcmyk(0%, 67.1%, 45%, 5.9%)
CIE-LABlab(57.84, 65.28, 5.58)
CIE-LCHlch(57.84, 65.52, 4.89°)
OKLaboklab(66.24% 0.1994 0.015)
OKLCHoklch(66.24% 0.2 4.3)
XYZxyz(42.8993, 25.7886, 24.5439)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04F84 #4FF0BB
analogous
#F04FD5 #F04F84 #F06A4F
triadic
#F04F84 #84F04F #4F84F0
tetradic
#F04F84 #D5F04F #4FF0BB #6A4FF0
square
#F04F84 #D5F04F #4FF0BB #6A4FF0
split-complementary
#F04F84 #4FF06A #4FD5F0
monochromatic
#B50F46 #EB175D #F04F84 #F587AB #FAC0D3

Accessibility & contrast

On white

3.41
#F04F84 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#F04F84 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04F84
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04F84#FFFFFF#000000##000000
##F04F841.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#727785
Deuteranopia (green-blind)
#9C9780
Tritanopia (blue-blind)
#FF3764
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04f84;
/* rgb */ color: rgb(240, 79, 132);
/* oklch */ color: oklch(66.2% 0.200 4.3);
Tailwind
colors: {
  custom: {
    50: '#fb8aa7',
    500: '#f04f84',
    950: '#000000',
  },
}
SCSS
$custom: #f04f84;
$custom-light: #fb8aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f04f84",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 340.248,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66242,
    "c": 0.19999,
    "h": 4.3
  },
  "luminance": 0.25783
}

Semantic roles & 50–950 ramp

primary
#F04F84
secondary
#B0EBD7
accent
#E19805
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D0F
muted
#867D7F

Preview Lab

Preview with #F04F84

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

Preview Lab → · Contrast checker → · Palette generator →

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