#F064C2#F064C2

#F064C2 is a light, vivid pink. Relative luminance 0.315; OKLCH L 70.7% C 0.200 H 342.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#F064C2
RGBrgb(240, 100, 194)
HSLhsl(320, 82%, 67%)
HSVhsv(320, 58%, 94%)
CMYKcmyk(0%, 58.3%, 19.2%, 5.9%)
CIE-LABlab(62.96, 63.90, -22.63)
CIE-LCHlch(62.96, 67.79, 340.50°)
OKLaboklab(70.68% 0.1906 -0.0604)
OKLCHoklch(70.68% 0.2 342.4)
XYZxyz(50.2312, 31.5390, 54.4706)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F064C2 #64F092
analogous
#D864F0 #F064C2 #F0647C
triadic
#F064C2 #C2F064 #64C2F0
tetradic
#F064C2 #F0D864 #64F092 #647CF0
square
#F064C2 #F0D864 #64F092 #647CF0
split-complementary
#F064C2 #7CF064 #64F0D8
monochromatic
#C6138C #EB2CAC #F064C2 #F59CD8 #FBD4EE

Accessibility & contrast

On white

2.87
#F064C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#F064C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F064C2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F064C2#FFFFFF#000000##000000
##F064C21.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8AC5
Deuteranopia (green-blind)
#96A1BE
Tritanopia (blue-blind)
#FE658B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f064c2;
/* rgb */ color: rgb(240, 100, 194);
/* oklch */ color: oklch(70.7% 0.200 342.4);
Tailwind
colors: {
  custom: {
    50: '#f897d4',
    500: '#f064c2',
    950: '#000000',
  },
}
SCSS
$custom: #f064c2;
$custom-light: #f897d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f064c2",
  "rgb": {
    "r": 240,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 319.714,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70683,
    "c": 0.19991,
    "h": 342.4
  },
  "luminance": 0.31535
}

Semantic roles & 50–950 ramp

primary
#F064C2
secondary
#C1EED0
accent
#DF4E07
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #F064C2

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

Preview Lab → · Contrast checker → · Palette generator →

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