#F0579B#F0579B

#F0579B is a light, vivid pink. Relative luminance 0.277; OKLCH L 67.8% C 0.197 H 356.2°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#F0579B
RGBrgb(240, 87, 155)
HSLhsl(333, 84%, 64%)
HSVhsv(333, 64%, 94%)
CMYKcmyk(0%, 63.7%, 35.4%, 5.9%)
CIE-LABlab(59.63, 64.47, -5.25)
CIE-LCHlch(59.63, 64.68, 355.34°)
OKLaboklab(67.78% 0.197 -0.013)
OKLCHoklch(67.78% 0.197 356.2)
XYZxyz(45.2624, 27.7133, 33.9696)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0579B #57F0AC
analogous
#F057E8 #F0579B #F06057
triadic
#F0579B #9BF057 #579BF0
tetradic
#F0579B #E8F057 #57F0AC #6057F0
square
#F0579B #E8F057 #57F0AC #6057F0
split-complementary
#F0579B #57F060 #57E8F0
monochromatic
#BC115D #EB1F7A #F0579B #F58FBC #FAC7DE

Accessibility & contrast

On white

3.21
#F0579B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#F0579B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0579B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0579B#FFFFFF#000000##000000
##F0579B1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#717E9D
Deuteranopia (green-blind)
#9B9A97
Tritanopia (blue-blind)
#FF4A72
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f0579b;
/* rgb */ color: rgb(240, 87, 155);
/* oklch */ color: oklch(67.8% 0.197 356.2);
Tailwind
colors: {
  custom: {
    50: '#f98fb8',
    500: '#f0579b',
    950: '#000000',
  },
}
SCSS
$custom: #f0579b;
$custom-light: #f98fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f0579b",
  "rgb": {
    "r": 240,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 333.333,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67784,
    "c": 0.19747,
    "h": 356.2
  },
  "luminance": 0.27708
}

Semantic roles & 50–950 ramp

primary
#F0579B
secondary
#B7ECD4
accent
#E07F05
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #F0579B

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

Preview Lab → · Contrast checker → · Palette generator →

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