#F04878#F04878

#F04878 is a light, highly saturated pink. Relative luminance 0.245; OKLCH L 65.2% C 0.205 H 7.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#F04878
RGBrgb(240, 72, 120)
HSLhsl(343, 85%, 61%)
HSVhsv(343, 70%, 94%)
CMYKcmyk(0%, 70%, 50%, 5.9%)
CIE-LABlab(56.61, 66.81, 10.92)
CIE-LCHlch(56.61, 67.69, 9.28°)
OKLaboklab(65.23% 0.2034 0.0282)
OKLCHoklch(65.23% 0.205 7.9)
XYZxyz(41.6463, 24.5216, 20.3058)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04878 #48F0C0
analogous
#F048CC #F04878 #F06C48
triadic
#F04878 #78F048 #4878F0
tetradic
#F04878 #CCF048 #48F0C0 #6C48F0
square
#F04878 #CCF048 #48F0C0 #6C48F0
split-complementary
#F04878 #48F06C #48CCF0
monochromatic
#AF0E3C #E81350 #F04878 #F581A2 #F9B9CB

Accessibility & contrast

On white

3.56
#F04878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#F04878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04878
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04878#FFFFFF#000000##000000
##F048781.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#707279
Deuteranopia (green-blind)
#9C9474
Tritanopia (blue-blind)
#FF265C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #f04878;
/* rgb */ color: rgb(240, 72, 120);
/* oklch */ color: oklch(65.2% 0.205 7.9);
Tailwind
colors: {
  custom: {
    50: '#fb869e',
    500: '#f04878',
    950: '#000000',
  },
}
SCSS
$custom: #f04878;
$custom-light: #fb869e;
$custom-dark: #000000;
JSON
{
  "hex": "#f04878",
  "rgb": {
    "r": 240,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 342.857,
    "s": 84.848,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65233,
    "c": 0.20532,
    "h": 7.9
  },
  "luminance": 0.24516
}

Semantic roles & 50–950 ramp

primary
#F04878
secondary
#AAE9D7
accent
#E1A204
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0E
muted
#877D7E

Preview Lab

Preview with #F04878

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

Preview Lab → · Contrast checker → · Palette generator →

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