#F0517D#F0517D

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

Color values

HEX#F0517D
RGBrgb(240, 81, 125)
HSLhsl(343, 84%, 63%)
HSVhsv(343, 66%, 94%)
CMYKcmyk(0%, 66.3%, 47.9%, 5.9%)
CIE-LABlab(57.94, 63.89, 9.85)
CIE-LCHlch(57.94, 64.65, 8.76°)
OKLaboklab(66.26% 0.1945 0.0256)
OKLCHoklch(66.26% 0.196 7.5)
XYZxyz(42.5827, 25.8962, 22.1542)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0517D #51F0C4
analogous
#F051CD #F0517D #F07451
triadic
#F0517D #7DF051 #517DF0
tetradic
#F0517D #CDF051 #51F0C4 #7451F0
square
#F0517D #CDF051 #51F0C4 #7451F0
split-complementary
#F0517D #51F074 #51CDF0
monochromatic
#B7103E #EB1953 #F0517D #F589A7 #FAC2D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0517D#FFFFFF#000000##000000
##F0517D1.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)
#75777E
Deuteranopia (green-blind)
#9E9779
Tritanopia (blue-blind)
#FF3762
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f0517d;
/* rgb */ color: rgb(240, 81, 125);
/* oklch */ color: oklch(66.3% 0.196 7.5);
Tailwind
colors: {
  custom: {
    50: '#fb8ba2',
    500: '#f0517d',
    950: '#000000',
  },
}
SCSS
$custom: #f0517d;
$custom-light: #fb8ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0517d",
  "rgb": {
    "r": 240,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 343.396,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66261,
    "c": 0.19619,
    "h": 7.5
  },
  "luminance": 0.25891
}

Semantic roles & 50–950 ramp

primary
#F0517D
secondary
#B2EBDB
accent
#E1A405
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#190D0F
muted
#877E7E

Preview Lab

Preview with #F0517D

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

Preview Lab → · Contrast checker → · Palette generator →

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