#F04F8A#F04F8A

#F04F8A is a light, highly saturated pink. Relative luminance 0.260; OKLCH L 66.4% C 0.202 H 1.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#F04F8A
RGBrgb(240, 79, 138)
HSLhsl(338, 84%, 63%)
HSVhsv(338, 67%, 94%)
CMYKcmyk(0%, 67.1%, 42.5%, 5.9%)
CIE-LABlab(58.00, 65.84, 2.29)
CIE-LCHlch(58.00, 65.88, 1.99°)
OKLaboklab(66.41% 0.2015 0.0067)
OKLCHoklch(66.41% 0.202 1.9)
XYZxyz(43.3217, 25.9576, 26.7688)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04F8A #4FF0B5
analogous
#F04FDB #F04F8A #F0644F
triadic
#F04F8A #8AF04F #4F8AF0
tetradic
#F04F8A #DBF04F #4FF0B5 #644FF0
square
#F04F8A #DBF04F #4FF0B5 #644FF0
split-complementary
#F04F8A #4FF064 #4FDBF0
monochromatic
#B50F4C #EB1765 #F04F8A #F587AF #FAC0D5

Accessibility & contrast

On white

3.39
#F04F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#F04F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04F8A
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04F8A#FFFFFF#000000##000000
##F04F8A1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70788C
Deuteranopia (green-blind)
#9B9786
Tritanopia (blue-blind)
#FF3A67
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04f8a;
/* rgb */ color: rgb(240, 79, 138);
/* oklch */ color: oklch(66.4% 0.202 1.9);
Tailwind
colors: {
  custom: {
    50: '#fa8aac',
    500: '#f04f8a',
    950: '#000000',
  },
}
SCSS
$custom: #f04f8a;
$custom-light: #fa8aac;
$custom-dark: #000000;
JSON
{
  "hex": "#f04f8a",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 338.012,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66414,
    "c": 0.20157,
    "h": 1.9
  },
  "luminance": 0.25952
}

Semantic roles & 50–950 ramp

primary
#F04F8A
secondary
#B0EBD5
accent
#E19005
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D10
muted
#867D7F

Preview Lab

Preview with #F04F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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