#F0517C#F0517C

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

Color values

HEX#F0517C
RGBrgb(240, 81, 124)
HSLhsl(344, 84%, 63%)
HSVhsv(344, 66%, 94%)
CMYKcmyk(0%, 66.3%, 48.3%, 5.9%)
CIE-LABlab(57.91, 63.81, 10.40)
CIE-LCHlch(57.91, 64.65, 9.26°)
OKLaboklab(66.24% 0.1942 0.027)
OKLCHoklch(66.24% 0.196 7.9)
XYZxyz(42.5192, 25.8708, 21.8194)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0517C #51F0C5
analogous
#F051CB #F0517C #F07651
triadic
#F0517C #7CF051 #517CF0
tetradic
#F0517C #CBF051 #51F0C5 #7651F0
square
#F0517C #CBF051 #51F0C5 #7651F0
split-complementary
#F0517C #51F076 #51CBF0
monochromatic
#B7103D #EB1952 #F0517C #F589A6 #FAC2D1

Accessibility & contrast

On white

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

On black

6.17
#F0517C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0517C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0517C#FFFFFF#000000##000000
##F0517C1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75777D
Deuteranopia (green-blind)
#9F9778
Tritanopia (blue-blind)
#FF3762
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f0517c;
/* rgb */ color: rgb(240, 81, 124);
/* oklch */ color: oklch(66.2% 0.196 7.9);
Tailwind
colors: {
  custom: {
    50: '#fb8ba1',
    500: '#f0517c',
    950: '#000000',
  },
}
SCSS
$custom: #f0517c;
$custom-light: #fb8ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0517c",
  "rgb": {
    "r": 240,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 343.774,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66235,
    "c": 0.19602,
    "h": 7.9
  },
  "luminance": 0.25865
}

Semantic roles & 50–950 ramp

primary
#F0517C
secondary
#B2EBDC
accent
#E1A505
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#190D0F
muted
#877E7E

Preview Lab

Preview with #F0517C

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

Preview Lab → · Contrast checker → · Palette generator →

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