#F04F88#F04F88

#F04F88 is a light, highly saturated pink. Relative luminance 0.259; OKLCH L 66.4% C 0.201 H 2.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#F04F88
RGBrgb(240, 79, 136)
HSLhsl(339, 84%, 63%)
HSVhsv(339, 67%, 94%)
CMYKcmyk(0%, 67.1%, 43.3%, 5.9%)
CIE-LABlab(57.94, 65.65, 3.39)
CIE-LCHlch(57.94, 65.74, 2.95°)
OKLaboklab(66.36% 0.2008 0.0095)
OKLCHoklch(66.36% 0.201 2.7)
XYZxyz(43.1783, 25.9002, 26.0132)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04F88 #4FF0B7
analogous
#F04FD8 #F04F88 #F0674F
triadic
#F04F88 #88F04F #4F88F0
tetradic
#F04F88 #D8F04F #4FF0B7 #674FF0
square
#F04F88 #D8F04F #4FF0B7 #674FF0
split-complementary
#F04F88 #4FF067 #4FD8F0
monochromatic
#B50F4A #EB1762 #F04F88 #F587AE #FAC0D4

Accessibility & contrast

On white

3.40
#F04F88 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#F04F88 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04F88
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04F88#FFFFFF#000000##000000
##F04F881.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#717789
Deuteranopia (green-blind)
#9C9784
Tritanopia (blue-blind)
#FF3966
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04f88;
/* rgb */ color: rgb(240, 79, 136);
/* oklch */ color: oklch(66.4% 0.201 2.7);
Tailwind
colors: {
  custom: {
    50: '#fa8aaa',
    500: '#f04f88',
    950: '#000000',
  },
}
SCSS
$custom: #f04f88;
$custom-light: #fa8aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f04f88",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 136
  },
  "hsl": {
    "h": 338.758,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66356,
    "c": 0.20101,
    "h": 2.7
  },
  "luminance": 0.25895
}

Semantic roles & 50–950 ramp

primary
#F04F88
secondary
#B0EBD6
accent
#E19305
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D10
muted
#867D7F

Preview Lab

Preview with #F04F88

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

Preview Lab → · Contrast checker → · Palette generator →

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