#F04F89#F04F89

#F04F89 is a light, highly saturated pink. Relative luminance 0.259; OKLCH L 66.4% C 0.201 H 2.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#F04F89
RGBrgb(240, 79, 137)
HSLhsl(338, 84%, 63%)
HSVhsv(338, 67%, 94%)
CMYKcmyk(0%, 67.1%, 42.9%, 5.9%)
CIE-LABlab(57.97, 65.75, 2.84)
CIE-LCHlch(57.97, 65.81, 2.47°)
OKLaboklab(66.39% 0.2011 0.0081)
OKLCHoklch(66.39% 0.201 2.3)
XYZxyz(43.2497, 25.9287, 26.3893)
Luminance0.2592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04F89 #4FF0B6
analogous
#F04FDA #F04F89 #F0654F
triadic
#F04F89 #89F04F #4F89F0
tetradic
#F04F89 #DAF04F #4FF0B6 #654FF0
square
#F04F89 #DAF04F #4FF0B6 #654FF0
split-complementary
#F04F89 #4FF065 #4FDAF0
monochromatic
#B50F4B #EB1763 #F04F89 #F587AF #FAC0D5

Accessibility & contrast

On white

3.40
#F04F89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#F04F89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04F89
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04F89#FFFFFF#000000##000000
##F04F891.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71778A
Deuteranopia (green-blind)
#9C9785
Tritanopia (blue-blind)
#FF3966
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f04f89;
/* rgb */ color: rgb(240, 79, 137);
/* oklch */ color: oklch(66.4% 0.201 2.3);
Tailwind
colors: {
  custom: {
    50: '#fa8aab',
    500: '#f04f89',
    950: '#000000',
  },
}
SCSS
$custom: #f04f89;
$custom-light: #fa8aab;
$custom-dark: #000000;
JSON
{
  "hex": "#f04f89",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 338.385,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66385,
    "c": 0.20129,
    "h": 2.3
  },
  "luminance": 0.25923
}

Semantic roles & 50–950 ramp

primary
#F04F89
secondary
#B0EBD6
accent
#E19105
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D10
muted
#867D7F

Preview Lab

Preview with #F04F89

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

Preview Lab → · Contrast checker → · Palette generator →

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