#F064B2#F064B2

#F064B2 is a light, vivid pink. Relative luminance 0.309; OKLCH L 70.1% C 0.190 H 348.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#F064B2
RGBrgb(240, 100, 178)
HSLhsl(327, 82%, 67%)
HSVhsv(327, 58%, 94%)
CMYKcmyk(0%, 58.3%, 25.8%, 5.9%)
CIE-LABlab(62.39, 61.75, -14.39)
CIE-LCHlch(62.39, 63.41, 346.89°)
OKLaboklab(70.07% 0.1866 -0.0377)
OKLCHoklch(70.07% 0.19 348.6)
XYZxyz(48.5301, 30.8586, 45.5113)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F064B2 #64F0A2
analogous
#E864F0 #F064B2 #F0646C
triadic
#F064B2 #B2F064 #64B2F0
tetradic
#F064B2 #F0E864 #64F0A2 #646CF0
square
#F064B2 #F0E864 #64F0A2 #646CF0
split-complementary
#F064B2 #6CF064 #64F0E8
monochromatic
#C61377 #EB2C96 #F064B2 #F59CCE #FBD4E9

Accessibility & contrast

On white

2.93
#F064B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#F064B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F064B2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F064B2#FFFFFF#000000##000000
##F064B21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#9BA0AF
Tritanopia (blue-blind)
#FF6083
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f064b2;
/* rgb */ color: rgb(240, 100, 178);
/* oklch */ color: oklch(70.1% 0.190 348.6);
Tailwind
colors: {
  custom: {
    50: '#f896c9',
    500: '#f064b2',
    950: '#000000',
  },
}
SCSS
$custom: #f064b2;
$custom-light: #f896c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f064b2",
  "rgb": {
    "r": 240,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 326.571,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70072,
    "c": 0.19041,
    "h": 348.6
  },
  "luminance": 0.30854
}

Semantic roles & 50–950 ramp

primary
#F064B2
secondary
#C1EED5
accent
#DF6607
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #F064B2

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

Preview Lab → · Contrast checker → · Palette generator →

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