#F051D7#F051D7

#F051D7 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.6% C 0.240 H 334.8°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#F051D7
RGBrgb(240, 81, 215)
HSLhsl(309, 84%, 63%)
HSVhsv(309, 66%, 94%)
CMYKcmyk(0%, 66.3%, 10.4%, 5.9%)
CIE-LABlab(61.06, 74.51, -37.45)
CIE-LCHlch(61.06, 83.39, 333.32°)
OKLaboklab(69.58% 0.2167 -0.1022)
OKLCHoklch(69.58% 0.24 334.8)
XYZxyz(51.1438, 29.3207, 67.2426)
Luminance0.2932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F051D7 #51F06A
analogous
#B951F0 #F051D7 #F05187
triadic
#F051D7 #D7F051 #51D7F0
tetradic
#F051D7 #F0B951 #51F06A #5187F0
square
#F051D7 #F0B951 #51F06A #5187F0
split-complementary
#F051D7 #87F051 #51F0B9
monochromatic
#B7109D #EB19CA #F051D7 #F589E4 #FAC2F1

Accessibility & contrast

On white

3.06
#F051D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#F051D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F051D7
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F051D7#FFFFFF#000000##000000
##F051D71.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5084DB
Deuteranopia (green-blind)
#859CD3
Tritanopia (blue-blind)
#FB5D8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f051d7;
/* rgb */ color: rgb(240, 81, 215);
/* oklch */ color: oklch(69.6% 0.240 334.8);
Tailwind
colors: {
  custom: {
    50: '#f98de3',
    500: '#f051d7',
    950: '#000000',
  },
}
SCSS
$custom: #f051d7;
$custom-light: #f98de3;
$custom-dark: #000000;
JSON
{
  "hex": "#f051d7",
  "rgb": {
    "r": 240,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 309.434,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.69577,
    "c": 0.23958,
    "h": 334.8
  },
  "luminance": 0.29316
}

Semantic roles & 50–950 ramp

primary
#F051D7
secondary
#B2EBBB
accent
#E12705
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F051D7

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

Preview Lab → · Contrast checker → · Palette generator →

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