#F04879#F04879

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

Color values

HEX#F04879
RGBrgb(240, 72, 121)
HSLhsl(343, 85%, 61%)
HSVhsv(343, 70%, 94%)
CMYKcmyk(0%, 70%, 49.6%, 5.9%)
CIE-LABlab(56.63, 66.89, 10.36)
CIE-LCHlch(56.63, 67.69, 8.80°)
OKLaboklab(65.26% 0.2037 0.0269)
OKLCHoklch(65.26% 0.205 7.5)
XYZxyz(41.7073, 24.5460, 20.6271)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04879 #48F0BF
analogous
#F048CD #F04879 #F06B48
triadic
#F04879 #79F048 #4879F0
tetradic
#F04879 #CDF048 #48F0BF #6B48F0
square
#F04879 #CDF048 #48F0BF #6B48F0
split-complementary
#F04879 #48F06B #48CDF0
monochromatic
#AF0E3D #E81351 #F04879 #F581A2 #F9B9CC

Accessibility & contrast

On white

3.55
#F04879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#F04879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04879
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04879#FFFFFF#000000##000000
##F048791.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70727A
Deuteranopia (green-blind)
#9C9475
Tritanopia (blue-blind)
#FF275C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #f04879;
/* rgb */ color: rgb(240, 72, 121);
/* oklch */ color: oklch(65.3% 0.205 7.5);
Tailwind
colors: {
  custom: {
    50: '#fb869f',
    500: '#f04879',
    950: '#000000',
  },
}
SCSS
$custom: #f04879;
$custom-light: #fb869f;
$custom-dark: #000000;
JSON
{
  "hex": "#f04879",
  "rgb": {
    "r": 240,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 342.5,
    "s": 84.848,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65259,
    "c": 0.20549,
    "h": 7.5
  },
  "luminance": 0.2454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04879

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

Preview Lab → · Contrast checker → · Palette generator →

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