#F064D8#F064D8

#F064D8 is a light, highly saturated pink. Relative luminance 0.326; OKLCH L 71.6% C 0.215 H 334.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#F064D8
RGBrgb(240, 100, 216)
HSLhsl(310, 82%, 67%)
HSVhsv(310, 58%, 94%)
CMYKcmyk(0%, 58.3%, 10%, 5.9%)
CIE-LABlab(63.84, 67.13, -33.69)
CIE-LCHlch(63.84, 75.11, 333.35°)
OKLaboklab(71.61% 0.1947 -0.0916)
OKLCHoklch(71.61% 0.215 334.8)
XYZxyz(52.8873, 32.6015, 68.4596)
Luminance0.3260 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F064D8 #64F07C
analogous
#C264F0 #F064D8 #F06492
triadic
#F064D8 #D8F064 #64D8F0
tetradic
#F064D8 #F0C264 #64F07C #6492F0
square
#F064D8 #F0C264 #64F07C #6492F0
split-complementary
#F064D8 #92F064 #64F0C2
monochromatic
#C613A8 #EB2CCA #F064D8 #F59CE6 #FBD4F4

Accessibility & contrast

On white

2.79
#F064D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#F064D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F064D8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F064D8#FFFFFF#000000##000000
##F064D81.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#648DDC
Deuteranopia (green-blind)
#8FA2D4
Tritanopia (blue-blind)
#FB6D95
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f064d8;
/* rgb */ color: rgb(240, 100, 216);
/* oklch */ color: oklch(71.6% 0.215 334.8);
Tailwind
colors: {
  custom: {
    50: '#f897e4',
    500: '#f064d8',
    950: '#000000',
  },
}
SCSS
$custom: #f064d8;
$custom-light: #f897e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f064d8",
  "rgb": {
    "r": 240,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 310.286,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71615,
    "c": 0.21517,
    "h": 334.8
  },
  "luminance": 0.32597
}

Semantic roles & 50–950 ramp

primary
#F064D8
secondary
#C1EEC9
accent
#DF2C07
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E15
muted
#867E84

Preview Lab

Preview with #F064D8

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

Preview Lab → · Contrast checker → · Palette generator →

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