#F04D87#F04D87

#F04D87 is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.1% C 0.203 H 2.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#F04D87
RGBrgb(240, 77, 135)
HSLhsl(339, 84%, 62%)
HSVhsv(339, 68%, 94%)
CMYKcmyk(0%, 67.9%, 43.8%, 5.9%)
CIE-LABlab(57.64, 66.30, 3.54)
CIE-LCHlch(57.64, 66.40, 3.06°)
OKLaboklab(66.13% 0.2028 0.0099)
OKLCHoklch(66.13% 0.203 2.8)
XYZxyz(42.9655, 25.5877, 25.5933)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04D87 #4DF0B6
analogous
#F04DD9 #F04D87 #F0644D
triadic
#F04D87 #87F04D #4D87F0
tetradic
#F04D87 #D9F04D #4DF0B6 #644DF0
square
#F04D87 #D9F04D #4DF0B6 #644DF0
split-complementary
#F04D87 #4DF064 #4DD9F0
monochromatic
#B30F4A #EB1561 #F04D87 #F585AD #FABED3

Accessibility & contrast

On white

3.43
#F04D87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#F04D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04D87
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04D87#FFFFFF#000000##000000
##F04D871.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#707688
Deuteranopia (green-blind)
#9B9683
Tritanopia (blue-blind)
#FF3665
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #f04d87;
/* rgb */ color: rgb(240, 77, 135);
/* oklch */ color: oklch(66.1% 0.203 2.8);
Tailwind
colors: {
  custom: {
    50: '#fb89a9',
    500: '#f04d87',
    950: '#000000',
  },
}
SCSS
$custom: #f04d87;
$custom-light: #fb89a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f04d87",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 338.65,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66126,
    "c": 0.20307,
    "h": 2.8
  },
  "luminance": 0.25582
}

Semantic roles & 50–950 ramp

primary
#F04D87
secondary
#AEEAD5
accent
#E19305
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C0F
muted
#867D7F

Preview Lab

Preview with #F04D87

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

Preview Lab → · Contrast checker → · Palette generator →

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