#F064A7#F064A7

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

Color values

HEX#F064A7
RGBrgb(240, 100, 167)
HSLhsl(331, 82%, 67%)
HSVhsv(331, 58%, 94%)
CMYKcmyk(0%, 58.3%, 30.4%, 5.9%)
CIE-LABlab(62.03, 60.38, -8.62)
CIE-LCHlch(62.03, 60.99, 351.87°)
OKLaboklab(69.69% 0.1836 -0.0221)
OKLCHoklch(69.69% 0.185 353.1)
XYZxyz(47.4696, 30.4344, 39.9262)
Luminance0.3043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F064A7 #64F0AD
analogous
#F064ED #F064A7 #F06764
triadic
#F064A7 #A7F064 #64A7F0
tetradic
#F064A7 #EDF064 #64F0AD #6764F0
square
#F064A7 #EDF064 #64F0AD #6764F0
split-complementary
#F064A7 #64F067 #64EDF0
monochromatic
#C61369 #EB2C87 #F064A7 #F59CC7 #FBD4E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F064A7#FFFFFF#000000##000000
##F064A71.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)
#7886A9
Deuteranopia (green-blind)
#9E9FA4
Tritanopia (blue-blind)
#FF5C7E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f064a7;
/* rgb */ color: rgb(240, 100, 167);
/* oklch */ color: oklch(69.7% 0.185 353.1);
Tailwind
colors: {
  custom: {
    50: '#f996c1',
    500: '#f064a7',
    950: '#000000',
  },
}
SCSS
$custom: #f064a7;
$custom-light: #f996c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f064a7",
  "rgb": {
    "r": 240,
    "g": 100,
    "b": 167
  },
  "hsl": {
    "h": 331.286,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69686,
    "c": 0.18487,
    "h": 353.1
  },
  "luminance": 0.3043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F064A7

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

Preview Lab → · Contrast checker → · Palette generator →

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