#F051D8#F051D8

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

Color values

HEX#F051D8
RGBrgb(240, 81, 216)
HSLhsl(309, 84%, 63%)
HSVhsv(309, 66%, 94%)
CMYKcmyk(0%, 66.3%, 10%, 5.9%)
CIE-LABlab(61.11, 74.66, -37.94)
CIE-LCHlch(61.11, 83.75, 333.06°)
OKLaboklab(69.63% 0.2168 -0.1036)
OKLCHoklch(69.63% 0.24 334.5)
XYZxyz(51.2727, 29.3722, 67.9214)
Luminance0.2937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F051D8 #51F069
analogous
#B951F0 #F051D8 #F05188
triadic
#F051D8 #D8F051 #51D8F0
tetradic
#F051D8 #F0B951 #51F069 #5188F0
square
#F051D8 #F0B951 #51F069 #5188F0
split-complementary
#F051D8 #88F051 #51F0B9
monochromatic
#B7109E #EB19CB #F051D8 #F589E5 #FAC2F1

Accessibility & contrast

On white

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

On black

6.87
#F051D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F051D8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F051D8#FFFFFF#000000##000000
##F051D81.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F84DC
Deuteranopia (green-blind)
#859CD4
Tritanopia (blue-blind)
#FB5D8E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f051d8;
/* rgb */ color: rgb(240, 81, 216);
/* oklch */ color: oklch(69.6% 0.240 334.5);
Tailwind
colors: {
  custom: {
    50: '#f98de4',
    500: '#f051d8',
    950: '#000000',
  },
}
SCSS
$custom: #f051d8;
$custom-light: #f98de4;
$custom-dark: #000000;
JSON
{
  "hex": "#f051d8",
  "rgb": {
    "r": 240,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 309.057,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.69625,
    "c": 0.24027,
    "h": 334.5
  },
  "luminance": 0.29368
}

Semantic roles & 50–950 ramp

primary
#F051D8
secondary
#B2EBBA
accent
#E12605
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D15
muted
#867E84

Preview Lab

Preview with #F051D8

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

Preview Lab → · Contrast checker → · Palette generator →

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