#F064A6#F064A6

#F064A6 is a light, vivid pink. Relative luminance 0.304; OKLCH L 69.7% C 0.184 H 353.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#F064A6
RGBrgb(240, 100, 166)
HSLhsl(332, 82%, 67%)
HSVhsv(332, 58%, 94%)
CMYKcmyk(0%, 58.3%, 30.8%, 5.9%)
CIE-LABlab(62.00, 60.25, -8.09)
CIE-LCHlch(62.00, 60.80, 352.35°)
OKLaboklab(69.65% 0.1833 -0.0207)
OKLCHoklch(69.65% 0.184 353.6)
XYZxyz(47.3775, 30.3976, 39.4412)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F064A6 #64F0AE
analogous
#F064EC #F064A6 #F06864
triadic
#F064A6 #A6F064 #64A6F0
tetradic
#F064A6 #ECF064 #64F0AE #6864F0
square
#F064A6 #ECF064 #64F0AE #6864F0
split-complementary
#F064A6 #64F068 #64ECF0
monochromatic
#C61368 #EB2C86 #F064A6 #F59CC6 #FBD4E6

Accessibility & contrast

On white

2.97
#F064A6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#F064A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F064A6
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F064A6#FFFFFF#000000##000000
##F064A61.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7886A8
Deuteranopia (green-blind)
#9E9FA3
Tritanopia (blue-blind)
#FF5C7E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f064a6;
/* rgb */ color: rgb(240, 100, 166);
/* oklch */ color: oklch(69.7% 0.184 353.6);
Tailwind
colors: {
  custom: {
    50: '#f996c0',
    500: '#f064a6',
    950: '#000000',
  },
}
SCSS
$custom: #f064a6;
$custom-light: #f996c0;
$custom-dark: #000000;
JSON
{
  "hex": "#f064a6",
  "rgb": {
    "r": 240,
    "g": 100,
    "b": 166
  },
  "hsl": {
    "h": 331.714,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69652,
    "c": 0.18442,
    "h": 353.6
  },
  "luminance": 0.30393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F064A6

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

Preview Lab → · Contrast checker → · Palette generator →

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