#F0517A#F0517A

#F0517A is a light, vivid pink. Relative luminance 0.258; OKLCH L 66.2% C 0.196 H 8.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#F0517A
RGBrgb(240, 81, 122)
HSLhsl(345, 84%, 63%)
HSVhsv(345, 66%, 94%)
CMYKcmyk(0%, 66.3%, 49.2%, 5.9%)
CIE-LABlab(57.87, 63.64, 11.51)
CIE-LCHlch(57.87, 64.67, 10.25°)
OKLaboklab(66.18% 0.1934 0.0297)
OKLCHoklch(66.18% 0.196 8.7)
XYZxyz(42.3940, 25.8207, 21.1600)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0517A #51F0C7
analogous
#F051CA #F0517A #F07751
triadic
#F0517A #7AF051 #517AF0
tetradic
#F0517A #CAF051 #51F0C7 #7751F0
square
#F0517A #CAF051 #51F0C7 #7751F0
split-complementary
#F0517A #51F077 #51CAF0
monochromatic
#B7103B #EB194F #F0517A #F589A5 #FAC2D0

Accessibility & contrast

On white

3.41
#F0517A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#F0517A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0517A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0517A#FFFFFF#000000##000000
##F0517A1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75777B
Deuteranopia (green-blind)
#9F9776
Tritanopia (blue-blind)
#FF3661
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f0517a;
/* rgb */ color: rgb(240, 81, 122);
/* oklch */ color: oklch(66.2% 0.196 8.7);
Tailwind
colors: {
  custom: {
    50: '#fb8ba0',
    500: '#f0517a',
    950: '#000000',
  },
}
SCSS
$custom: #f0517a;
$custom-light: #fb8ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0517a",
  "rgb": {
    "r": 240,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 344.528,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.19569,
    "h": 8.7
  },
  "luminance": 0.25815
}

Semantic roles & 50–950 ramp

primary
#F0517A
secondary
#B2EBDC
accent
#E1A805
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#190D0E
muted
#877E7E

Preview Lab

Preview with #F0517A

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

Preview Lab → · Contrast checker → · Palette generator →

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