#F051F2#F051F2

#F051F2 is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.9% C 0.259 H 327.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#F051F2
RGBrgb(240, 81, 242)
HSLhsl(299, 86%, 63%)
HSVhsv(299, 67%, 95%)
CMYKcmyk(0.8%, 66.5%, 0%, 5.1%)
CIE-LABlab(62.36, 78.66, -50.52)
CIE-LCHlch(62.36, 93.48, 327.29°)
OKLaboklab(70.94% 0.2185 -0.1399)
OKLCHoklch(70.94% 0.259 327.4)
XYZxyz(54.9038, 30.8247, 87.0451)
Luminance0.3082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F051F2 #53F251
analogous
#A051F2 #F051F2 #F251A3
triadic
#F051F2 #F2F051 #51F2F0
tetradic
#F051F2 #F2A051 #53F251 #51A3F2
square
#F051F2 #F2A051 #53F251 #51A3F2
split-complementary
#F051F2 #A3F251 #51F2A0
monochromatic
#B90EBB #EB18EE #F051F2 #F58AF6 #FAC3FB

Accessibility & contrast

On white

2.93
#F051F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#F051F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F051F2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F051F2#FFFFFF#000000##000000
##F051F21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#368AF7
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#F7689C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f051f2;
/* rgb */ color: rgb(240, 81, 242);
/* oklch */ color: oklch(70.9% 0.259 327.4);
Tailwind
colors: {
  custom: {
    50: '#f98ef7',
    500: '#f051f2',
    950: '#000000',
  },
}
SCSS
$custom: #f051f2;
$custom-light: #f98ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#f051f2",
  "rgb": {
    "r": 240,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 299.255,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70935,
    "c": 0.2594,
    "h": 327.4
  },
  "luminance": 0.30821
}

Semantic roles & 50–950 ramp

primary
#F051F2
secondary
#B3ECB3
accent
#E30306
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D17
muted
#867E85

Preview Lab

Preview with #F051F2

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

Preview Lab → · Contrast checker → · Palette generator →

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