#F0517E#F0517E

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

Color values

HEX#F0517E
RGBrgb(240, 81, 126)
HSLhsl(343, 84%, 63%)
HSVhsv(343, 66%, 94%)
CMYKcmyk(0%, 66.3%, 47.5%, 5.9%)
CIE-LABlab(57.96, 63.98, 9.29)
CIE-LCHlch(57.96, 64.65, 8.27°)
OKLaboklab(66.29% 0.1949 0.0243)
OKLCHoklch(66.29% 0.196 7.1)
XYZxyz(42.6469, 25.9219, 22.4923)
Luminance0.2592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0517E #51F0C3
analogous
#F051CD #F0517E #F07351
triadic
#F0517E #7EF051 #517EF0
tetradic
#F0517E #CDF051 #51F0C3 #7351F0
square
#F0517E #CDF051 #51F0C3 #7351F0
split-complementary
#F0517E #51F073 #51CDF0
monochromatic
#B7103F #EB1954 #F0517E #F589A8 #FAC2D2

Accessibility & contrast

On white

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

On black

6.18
#F0517E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0517E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0517E#FFFFFF#000000##000000
##F0517E1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75777F
Deuteranopia (green-blind)
#9E977A
Tritanopia (blue-blind)
#FF3863
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f0517e;
/* rgb */ color: rgb(240, 81, 126);
/* oklch */ color: oklch(66.3% 0.196 7.1);
Tailwind
colors: {
  custom: {
    50: '#fb8ba3',
    500: '#f0517e',
    950: '#000000',
  },
}
SCSS
$custom: #f0517e;
$custom-light: #fb8ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f0517e",
  "rgb": {
    "r": 240,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 343.019,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66287,
    "c": 0.19638,
    "h": 7.1
  },
  "luminance": 0.25916
}

Semantic roles & 50–950 ramp

primary
#F0517E
secondary
#B2EBDB
accent
#E1A205
background
#FFF9FA
surface
#FFF1F3
border
#D7CBCD
text
#190D0F
muted
#877E7F

Preview Lab

Preview with #F0517E

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

Preview Lab → · Contrast checker → · Palette generator →

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