#F0578B#F0578B

#F0578B is a light, vivid pink. Relative luminance 0.272; OKLCH L 67.3% C 0.192 H 2.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#F0578B
RGBrgb(240, 87, 139)
HSLhsl(340, 84%, 64%)
HSVhsv(340, 64%, 94%)
CMYKcmyk(0%, 63.7%, 42.1%, 5.9%)
CIE-LABlab(59.17, 62.80, 3.40)
CIE-LCHlch(59.17, 62.90, 3.10°)
OKLaboklab(67.29% 0.1919 0.0095)
OKLCHoklch(67.29% 0.192 2.8)
XYZxyz(44.0066, 27.2110, 27.3559)
Luminance0.2721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0578B #57F0BC
analogous
#F057D8 #F0578B #F07057
triadic
#F0578B #8BF057 #578BF0
tetradic
#F0578B #D8F057 #57F0BC #7057F0
square
#F0578B #D8F057 #57F0BC #7057F0
split-complementary
#F0578B #57F070 #57D8F0
monochromatic
#BC114B #EB1F64 #F0578B #F58FB2 #FAC7D9

Accessibility & contrast

On white

3.26
#F0578B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#F0578B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0578B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0578B#FFFFFF#000000##000000
##F0578B1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#767C8C
Deuteranopia (green-blind)
#9E9987
Tritanopia (blue-blind)
#FF446B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #f0578b;
/* rgb */ color: rgb(240, 87, 139);
/* oklch */ color: oklch(67.3% 0.192 2.8);
Tailwind
colors: {
  custom: {
    50: '#fa8eac',
    500: '#f0578b',
    950: '#000000',
  },
}
SCSS
$custom: #f0578b;
$custom-light: #fa8eac;
$custom-dark: #000000;
JSON
{
  "hex": "#f0578b",
  "rgb": {
    "r": 240,
    "g": 87,
    "b": 139
  },
  "hsl": {
    "h": 339.608,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67292,
    "c": 0.1921,
    "h": 2.8
  },
  "luminance": 0.27206
}

Semantic roles & 50–950 ramp

primary
#F0578B
secondary
#B7ECDA
accent
#E09605
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #F0578B

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

Preview Lab → · Contrast checker → · Palette generator →

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