#F062AB#F062AB

#F062AB is a light, vivid pink. Relative luminance 0.302; OKLCH L 69.6% C 0.190 H 351.2°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#F062AB
RGBrgb(240, 98, 171)
HSLhsl(329, 83%, 66%)
HSVhsv(329, 59%, 94%)
CMYKcmyk(0%, 59.2%, 28.8%, 5.9%)
CIE-LABlab(61.83, 61.74, -11.21)
CIE-LCHlch(61.83, 62.75, 349.71°)
OKLaboklab(69.58% 0.1874 -0.029)
OKLCHoklch(69.58% 0.19 351.2)
XYZxyz(47.6556, 30.2057, 41.8407)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062AB #62F0A7
analogous
#EE62F0 #F062AB #F06264
triadic
#F062AB #ABF062 #62ABF0
tetradic
#F062AB #F0EE62 #62F0A7 #6264F0
square
#F062AB #F0EE62 #62F0A7 #6264F0
split-complementary
#F062AB #64F062 #62F0EE
monochromatic
#C5136E #EB2A8D #F062AB #F59AC9 #FBD2E7

Accessibility & contrast

On white

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

On black

7.04
#F062AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062AB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062AB#FFFFFF#000000##000000
##F062AB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AD
Deuteranopia (green-blind)
#9C9FA8
Tritanopia (blue-blind)
#FF5B7F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f062ab;
/* rgb */ color: rgb(240, 98, 171);
/* oklch */ color: oklch(69.6% 0.190 351.2);
Tailwind
colors: {
  custom: {
    50: '#f995c4',
    500: '#f062ab',
    950: '#000000',
  },
}
SCSS
$custom: #f062ab;
$custom-light: #f995c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f062ab",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 329.155,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69582,
    "c": 0.18964,
    "h": 351.2
  },
  "luminance": 0.30201
}

Semantic roles & 50–950 ramp

primary
#F062AB
secondary
#C0EED6
accent
#DF7007
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E12
muted
#867E81

Preview Lab

Preview with #F062AB

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

Preview Lab → · Contrast checker → · Palette generator →

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