#F0517F#F0517F

#F0517F is a light, vivid pink. Relative luminance 0.259; OKLCH L 66.3% C 0.197 H 6.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#F0517F
RGBrgb(240, 81, 127)
HSLhsl(343, 84%, 63%)
HSVhsv(343, 66%, 94%)
CMYKcmyk(0%, 66.3%, 47.1%, 5.9%)
CIE-LABlab(57.99, 64.07, 8.74)
CIE-LCHlch(57.99, 64.66, 7.77°)
OKLaboklab(66.31% 0.1952 0.0229)
OKLCHoklch(66.31% 0.197 6.7)
XYZxyz(42.7118, 25.9479, 22.8338)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0517F #51F0C2
analogous
#F051CE #F0517F #F07351
triadic
#F0517F #7FF051 #517FF0
tetradic
#F0517F #CEF051 #51F0C2 #7351F0
square
#F0517F #CEF051 #51F0C2 #7351F0
split-complementary
#F0517F #51F073 #51CEF0
monochromatic
#B71040 #EB1956 #F0517F #F589A8 #FAC2D2

Accessibility & contrast

On white

3.39
#F0517F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#F0517F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0517F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0517F#FFFFFF#000000##000000
##F0517F1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#747780
Deuteranopia (green-blind)
#9E977B
Tritanopia (blue-blind)
#FF3863
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f0517f;
/* rgb */ color: rgb(240, 81, 127);
/* oklch */ color: oklch(66.3% 0.197 6.7);
Tailwind
colors: {
  custom: {
    50: '#fb8ba3',
    500: '#f0517f',
    950: '#000000',
  },
}
SCSS
$custom: #f0517f;
$custom-light: #fb8ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f0517f",
  "rgb": {
    "r": 240,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 342.642,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66313,
    "c": 0.19657,
    "h": 6.7
  },
  "luminance": 0.25942
}

Semantic roles & 50–950 ramp

primary
#F0517F
secondary
#B2EBDA
accent
#E1A105
background
#FFF9FA
surface
#FFF1F3
border
#D7CBCD
text
#190D0F
muted
#877E7F

Preview Lab

Preview with #F0517F

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

Preview Lab → · Contrast checker → · Palette generator →

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