#F064A2#F064A2

#F064A2 is a light, vivid pink. Relative luminance 0.302; OKLCH L 69.5% C 0.183 H 355.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#F064A2
RGBrgb(240, 100, 162)
HSLhsl(333, 82%, 67%)
HSVhsv(333, 58%, 94%)
CMYKcmyk(0%, 58.3%, 32.5%, 5.9%)
CIE-LABlab(61.87, 59.78, -5.98)
CIE-LCHlch(61.87, 60.08, 354.29°)
OKLaboklab(69.52% 0.1821 -0.015)
OKLCHoklch(69.52% 0.183 355.3)
XYZxyz(47.0163, 30.2531, 37.5388)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F064A2 #64F0B2
analogous
#F064E8 #F064A2 #F06C64
triadic
#F064A2 #A2F064 #64A2F0
tetradic
#F064A2 #E8F064 #64F0B2 #6C64F0
square
#F064A2 #E8F064 #64F0B2 #6C64F0
split-complementary
#F064A2 #64F06C #64E8F0
monochromatic
#C61363 #EB2C81 #F064A2 #F59CC3 #FBD4E5

Accessibility & contrast

On white

2.98
#F064A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#F064A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F064A2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F064A2#FFFFFF#000000##000000
##F064A21.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7985A4
Deuteranopia (green-blind)
#9F9F9F
Tritanopia (blue-blind)
#FF5B7C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f064a2;
/* rgb */ color: rgb(240, 100, 162);
/* oklch */ color: oklch(69.5% 0.183 355.3);
Tailwind
colors: {
  custom: {
    50: '#f996bd',
    500: '#f064a2',
    950: '#000000',
  },
}
SCSS
$custom: #f064a2;
$custom-light: #f996bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f064a2",
  "rgb": {
    "r": 240,
    "g": 100,
    "b": 162
  },
  "hsl": {
    "h": 333.429,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69519,
    "c": 0.18267,
    "h": 355.3
  },
  "luminance": 0.30248
}

Semantic roles & 50–950 ramp

primary
#F064A2
secondary
#C1EEDA
accent
#DF7F07
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F064A2

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

Preview Lab → · Contrast checker → · Palette generator →

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