#F04E87#F04E87

#F04E87 is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.2% C 0.202 H 2.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#F04E87
RGBrgb(240, 78, 135)
HSLhsl(339, 84%, 62%)
HSVhsv(339, 68%, 94%)
CMYKcmyk(0%, 67.5%, 43.8%, 5.9%)
CIE-LABlab(57.78, 65.93, 3.74)
CIE-LCHlch(57.78, 66.04, 3.24°)
OKLaboklab(66.23% 0.2017 0.0104)
OKLCHoklch(66.23% 0.202 2.9)
XYZxyz(43.0360, 25.7287, 25.6168)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04E87 #4EF0B7
analogous
#F04ED8 #F04E87 #F0664E
triadic
#F04E87 #87F04E #4E87F0
tetradic
#F04E87 #D8F04E #4EF0B7 #664EF0
square
#F04E87 #D8F04E #4EF0B7 #664EF0
split-complementary
#F04E87 #4EF066 #4ED8F0
monochromatic
#B40F49 #EB1661 #F04E87 #F586AD #FABFD4

Accessibility & contrast

On white

3.42
#F04E87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#F04E87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04E87
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04E87#FFFFFF#000000##000000
##F04E871.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#707788
Deuteranopia (green-blind)
#9C9683
Tritanopia (blue-blind)
#FF3765
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04e87;
/* rgb */ color: rgb(240, 78, 135);
/* oklch */ color: oklch(66.2% 0.202 2.9);
Tailwind
colors: {
  custom: {
    50: '#fa8aa9',
    500: '#f04e87',
    950: '#000000',
  },
}
SCSS
$custom: #f04e87;
$custom-light: #fa8aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#f04e87",
  "rgb": {
    "r": 240,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 338.889,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66226,
    "c": 0.20192,
    "h": 2.9
  },
  "luminance": 0.25723
}

Semantic roles & 50–950 ramp

primary
#F04E87
secondary
#AFEAD6
accent
#E19305
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D0F
muted
#867D7F

Preview Lab

Preview with #F04E87

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

Preview Lab → · Contrast checker → · Palette generator →

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