#F062A6#F062A6

#F062A6 is a light, vivid pink. Relative luminance 0.300; OKLCH L 69.4% C 0.187 H 353.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#F062A6
RGBrgb(240, 98, 166)
HSLhsl(331, 83%, 66%)
HSVhsv(331, 59%, 94%)
CMYKcmyk(0%, 59.2%, 30.8%, 5.9%)
CIE-LABlab(61.67, 61.13, -8.58)
CIE-LCHlch(61.67, 61.73, 352.01°)
OKLaboklab(69.41% 0.186 -0.0219)
OKLCHoklch(69.41% 0.187 353.3)
XYZxyz(47.1880, 30.0186, 39.3781)
Luminance0.3001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062A6 #62F0AC
analogous
#F062ED #F062A6 #F06562
triadic
#F062A6 #A6F062 #62A6F0
tetradic
#F062A6 #EDF062 #62F0AC #6562F0
square
#F062A6 #EDF062 #62F0AC #6562F0
split-complementary
#F062A6 #62F065 #62EDF0
monochromatic
#C51368 #EB2A86 #F062A6 #F59AC6 #FBD2E5

Accessibility & contrast

On white

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

On black

7.00
#F062A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062A6
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062A6#FFFFFF#000000##000000
##F062A61.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7785A8
Deuteranopia (green-blind)
#9D9EA3
Tritanopia (blue-blind)
#FF5A7D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f062a6;
/* rgb */ color: rgb(240, 98, 166);
/* oklch */ color: oklch(69.4% 0.187 353.3);
Tailwind
colors: {
  custom: {
    50: '#f995c0',
    500: '#f062a6',
    950: '#000000',
  },
}
SCSS
$custom: #f062a6;
$custom-light: #f995c0;
$custom-dark: #000000;
JSON
{
  "hex": "#f062a6",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 166
  },
  "hsl": {
    "h": 331.268,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6941,
    "c": 0.18725,
    "h": 353.3
  },
  "luminance": 0.30014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F062A6

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

Preview Lab → · Contrast checker → · Palette generator →

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