#F064A8#F064A8

#F064A8 is a light, vivid pink. Relative luminance 0.305; OKLCH L 69.7% C 0.185 H 352.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#F064A8
RGBrgb(240, 100, 168)
HSLhsl(331, 82%, 67%)
HSVhsv(331, 58%, 94%)
CMYKcmyk(0%, 58.3%, 30%, 5.9%)
CIE-LABlab(62.06, 60.50, -9.15)
CIE-LCHlch(62.06, 61.19, 351.40°)
OKLaboklab(69.72% 0.1839 -0.0235)
OKLCHoklch(69.72% 0.185 352.7)
XYZxyz(47.5624, 30.4715, 40.4149)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F064A8 #64F0AC
analogous
#F064EE #F064A8 #F06664
triadic
#F064A8 #A8F064 #64A8F0
tetradic
#F064A8 #EEF064 #64F0AC #6664F0
square
#F064A8 #EEF064 #64F0AC #6664F0
split-complementary
#F064A8 #64F066 #64EEF0
monochromatic
#C6136A #EB2C89 #F064A8 #F59CC7 #FBD4E7

Accessibility & contrast

On white

2.96
#F064A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#F064A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F064A8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F064A8#FFFFFF#000000##000000
##F064A81.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7886AA
Deuteranopia (green-blind)
#9E9FA5
Tritanopia (blue-blind)
#FF5C7F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f064a8;
/* rgb */ color: rgb(240, 100, 168);
/* oklch */ color: oklch(69.7% 0.185 352.7);
Tailwind
colors: {
  custom: {
    50: '#f996c1',
    500: '#f064a8',
    950: '#000000',
  },
}
SCSS
$custom: #f064a8;
$custom-light: #f996c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f064a8",
  "rgb": {
    "r": 240,
    "g": 100,
    "b": 168
  },
  "hsl": {
    "h": 330.857,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6972,
    "c": 0.18534,
    "h": 352.7
  },
  "luminance": 0.30467
}

Semantic roles & 50–950 ramp

primary
#F064A8
secondary
#C1EED9
accent
#DF7607
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F064A8

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

Preview Lab → · Contrast checker → · Palette generator →

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