#F062A7#F062A7

#F062A7 is a light, vivid pink. Relative luminance 0.301; OKLCH L 69.4% C 0.188 H 352.9°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#F062A7
RGBrgb(240, 98, 167)
HSLhsl(331, 83%, 66%)
HSVhsv(331, 59%, 94%)
CMYKcmyk(0%, 59.2%, 30.4%, 5.9%)
CIE-LABlab(61.70, 61.25, -9.11)
CIE-LCHlch(61.70, 61.92, 351.54°)
OKLaboklab(69.44% 0.1863 -0.0233)
OKLCHoklch(69.44% 0.188 352.9)
XYZxyz(47.2801, 30.0555, 39.8630)
Luminance0.3005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062A7 #62F0AB
analogous
#F062EE #F062A7 #F06462
triadic
#F062A7 #A7F062 #62A7F0
tetradic
#F062A7 #EEF062 #62F0AB #6462F0
square
#F062A7 #EEF062 #62F0AB #6462F0
split-complementary
#F062A7 #62F064 #62EEF0
monochromatic
#C51369 #EB2A88 #F062A7 #F59AC6 #FBD2E6

Accessibility & contrast

On white

3.00
#F062A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#F062A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062A7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062A7#FFFFFF#000000##000000
##F062A71.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7685A9
Deuteranopia (green-blind)
#9D9FA4
Tritanopia (blue-blind)
#FF5A7D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f062a7;
/* rgb */ color: rgb(240, 98, 167);
/* oklch */ color: oklch(69.4% 0.188 352.9);
Tailwind
colors: {
  custom: {
    50: '#f995c1',
    500: '#f062a7',
    950: '#000000',
  },
}
SCSS
$custom: #f062a7;
$custom-light: #f995c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f062a7",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 167
  },
  "hsl": {
    "h": 330.845,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69444,
    "c": 0.18772,
    "h": 352.9
  },
  "luminance": 0.30051
}

Semantic roles & 50–950 ramp

primary
#F062A7
secondary
#C0EED8
accent
#DF7607
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F062A7

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

Preview Lab → · Contrast checker → · Palette generator →

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