#F04D78#F04D78

#F04D78 is a light, vivid pink. Relative luminance 0.252; OKLCH L 65.7% C 0.200 H 8.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#F04D78
RGBrgb(240, 77, 120)
HSLhsl(344, 84%, 62%)
HSVhsv(344, 68%, 94%)
CMYKcmyk(0%, 67.9%, 50%, 5.9%)
CIE-LABlab(57.26, 64.99, 11.84)
CIE-LCHlch(57.26, 66.06, 10.33°)
OKLaboklab(65.72% 0.1976 0.0305)
OKLCHoklch(65.72% 0.2 8.8)
XYZxyz(41.9828, 25.1946, 20.4179)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04D78 #4DF0C5
analogous
#F04DC9 #F04D78 #F0744D
triadic
#F04D78 #78F04D #4D78F0
tetradic
#F04D78 #C9F04D #4DF0C5 #744DF0
square
#F04D78 #C9F04D #4DF0C5 #744DF0
split-complementary
#F04D78 #4DF074 #4DC9F0
monochromatic
#B30F3A #EB154D #F04D78 #F585A3 #FABECE

Accessibility & contrast

On white

3.48
#F04D78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#F04D78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04D78
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04D78#FFFFFF#000000##000000
##F04D781.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#737579
Deuteranopia (green-blind)
#9E9674
Tritanopia (blue-blind)
#FF2F5E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #f04d78;
/* rgb */ color: rgb(240, 77, 120);
/* oklch */ color: oklch(65.7% 0.200 8.8);
Tailwind
colors: {
  custom: {
    50: '#fb899e',
    500: '#f04d78',
    950: '#000000',
  },
}
SCSS
$custom: #f04d78;
$custom-light: #fb899e;
$custom-dark: #000000;
JSON
{
  "hex": "#f04d78",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 120
  },
  "hsl": {
    "h": 344.172,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65721,
    "c": 0.19989,
    "h": 8.8
  },
  "luminance": 0.25189
}

Semantic roles & 50–950 ramp

primary
#F04D78
secondary
#AEEADB
accent
#E1A705
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0E
muted
#877D7E

Preview Lab

Preview with #F04D78

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

Preview Lab → · Contrast checker → · Palette generator →

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