#F062A4#F062A4

#F062A4 is a light, vivid pink. Relative luminance 0.299; OKLCH L 69.3% C 0.186 H 354.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#F062A4
RGBrgb(240, 98, 164)
HSLhsl(332, 83%, 66%)
HSVhsv(332, 59%, 94%)
CMYKcmyk(0%, 59.2%, 31.7%, 5.9%)
CIE-LABlab(61.61, 60.89, -7.52)
CIE-LCHlch(61.61, 61.35, 352.96°)
OKLaboklab(69.34% 0.1854 -0.0191)
OKLCHoklch(69.34% 0.186 354.1)
XYZxyz(47.0060, 29.9458, 38.4194)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062A4 #62F0AE
analogous
#F062EB #F062A4 #F06762
triadic
#F062A4 #A4F062 #62A4F0
tetradic
#F062A4 #EBF062 #62F0AE #6762F0
square
#F062A4 #EBF062 #62F0AE #6762F0
split-complementary
#F062A4 #62F067 #62EBF0
monochromatic
#C51366 #EB2A84 #F062A4 #F59AC4 #FBD2E5

Accessibility & contrast

On white

3.01
#F062A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#F062A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F062A4
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062A4#FFFFFF#000000##000000
##F062A41.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7785A6
Deuteranopia (green-blind)
#9E9EA1
Tritanopia (blue-blind)
#FF597C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f062a4;
/* rgb */ color: rgb(240, 98, 164);
/* oklch */ color: oklch(69.3% 0.186 354.1);
Tailwind
colors: {
  custom: {
    50: '#f995bf',
    500: '#f062a4',
    950: '#000000',
  },
}
SCSS
$custom: #f062a4;
$custom-light: #f995bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f062a4",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 164
  },
  "hsl": {
    "h": 332.113,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69343,
    "c": 0.18635,
    "h": 354.1
  },
  "luminance": 0.29941
}

Semantic roles & 50–950 ramp

primary
#F062A4
secondary
#C0EED9
accent
#DF7A07
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F062A4

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

Preview Lab → · Contrast checker → · Palette generator →

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