#F0518D#F0518D

#F0518D is a light, highly saturated pink. Relative luminance 0.263; OKLCH L 66.7% C 0.200 H 1.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#F0518D
RGBrgb(240, 81, 141)
HSLhsl(337, 84%, 63%)
HSVhsv(337, 66%, 94%)
CMYKcmyk(0%, 66.3%, 41.3%, 5.9%)
CIE-LABlab(58.36, 65.37, 1.05)
CIE-LCHlch(58.36, 65.38, 0.92°)
OKLaboklab(66.71% 0.2 0.0035)
OKLCHoklch(66.71% 0.2 1)
XYZxyz(43.6884, 26.3385, 27.9773)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0518D #51F0B4
analogous
#F051DD #F0518D #F06451
triadic
#F0518D #8DF051 #518DF0
tetradic
#F0518D #DDF051 #51F0B4 #6451F0
square
#F0518D #DDF051 #51F0B4 #6451F0
split-complementary
#F0518D #51F064 #51DDF0
monochromatic
#B7104F #EB1968 #F0518D #F589B2 #FAC2D7

Accessibility & contrast

On white

3.35
#F0518D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#F0518D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0518D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0518D#FFFFFF#000000##000000
##F0518D1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71798F
Deuteranopia (green-blind)
#9C9889
Tritanopia (blue-blind)
#FF3E69
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #f0518d;
/* rgb */ color: rgb(240, 81, 141);
/* oklch */ color: oklch(66.7% 0.200 1.0);
Tailwind
colors: {
  custom: {
    50: '#fa8bae',
    500: '#f0518d',
    950: '#000000',
  },
}
SCSS
$custom: #f0518d;
$custom-light: #fa8bae;
$custom-dark: #000000;
JSON
{
  "hex": "#f0518d",
  "rgb": {
    "r": 240,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 337.358,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66708,
    "c": 0.20007,
    "h": 1
  },
  "luminance": 0.26333
}

Semantic roles & 50–950 ramp

primary
#F0518D
secondary
#B2EBD5
accent
#E18E05
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #F0518D

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

Preview Lab → · Contrast checker → · Palette generator →

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