#F051C8#F051C8

#F051C8 is a light, highly saturated pink. Relative luminance 0.286; OKLCH L 68.9% C 0.229 H 339.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#F051C8
RGBrgb(240, 81, 200)
HSLhsl(315, 84%, 63%)
HSVhsv(315, 66%, 94%)
CMYKcmyk(0%, 66.3%, 16.7%, 5.9%)
CIE-LABlab(60.41, 72.38, -29.96)
CIE-LCHlch(60.41, 78.33, 337.51°)
OKLaboklab(68.89% 0.2147 -0.0809)
OKLCHoklch(68.89% 0.229 339.4)
XYZxyz(49.3040, 28.5848, 57.5531)
Luminance0.2858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F051C8 #51F079
analogous
#C851F0 #F051C8 #F05179
triadic
#F051C8 #C8F051 #51C8F0
tetradic
#F051C8 #F0C851 #51F079 #5179F0
square
#F051C8 #F0C851 #51F079 #5179F0
split-complementary
#F051C8 #79F051 #51F0C8
monochromatic
#B7108D #EB19B6 #F051C8 #F589DA #FAC2EC

Accessibility & contrast

On white

3.13
#F051C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#F051C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F051C8
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F051C8#FFFFFF#000000##000000
##F051C81.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CB
Deuteranopia (green-blind)
#8B9BC4
Tritanopia (blue-blind)
#FD5686
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f051c8;
/* rgb */ color: rgb(240, 81, 200);
/* oklch */ color: oklch(68.9% 0.229 339.4);
Tailwind
colors: {
  custom: {
    50: '#f98dd9',
    500: '#f051c8',
    950: '#000000',
  },
}
SCSS
$custom: #f051c8;
$custom-light: #f98dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#f051c8",
  "rgb": {
    "r": 240,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 315.094,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68892,
    "c": 0.22942,
    "h": 339.4
  },
  "luminance": 0.2858
}

Semantic roles & 50–950 ramp

primary
#F051C8
secondary
#B2EBC0
accent
#E13C05
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F051C8

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

Preview Lab → · Contrast checker → · Palette generator →

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