#F062CC#F062CC

#F062CC is a light, highly saturated pink. Relative luminance 0.316; OKLCH L 70.9% C 0.209 H 338.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#F062CC
RGBrgb(240, 98, 204)
HSLhsl(315, 83%, 66%)
HSVhsv(315, 59%, 94%)
CMYKcmyk(0%, 59.2%, 15%, 5.9%)
CIE-LABlab(63.03, 66.19, -28.18)
CIE-LCHlch(63.03, 71.94, 336.94°)
OKLaboklab(70.86% 0.1952 -0.076)
OKLCHoklch(70.86% 0.209 338.7)
XYZxyz(51.2028, 31.6245, 60.5224)
Luminance0.3162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062CC #62F086
analogous
#CD62F0 #F062CC #F06285
triadic
#F062CC #CCF062 #62CCF0
tetradic
#F062CC #F0CD62 #62F086 #6285F0
square
#F062CC #F0CD62 #62F086 #6285F0
split-complementary
#F062CC #85F062 #62F0CD
monochromatic
#C51398 #EB2ABA #F062CC #F59ADE #FBD2F0

Accessibility & contrast

On white

2.87
#F062CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#F062CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062CC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062CC#FFFFFF#000000##000000
##F062CC1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#92A1C8
Tritanopia (blue-blind)
#FC678E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f062cc;
/* rgb */ color: rgb(240, 98, 204);
/* oklch */ color: oklch(70.9% 0.209 338.7);
Tailwind
colors: {
  custom: {
    50: '#f896db',
    500: '#f062cc',
    950: '#000000',
  },
}
SCSS
$custom: #f062cc;
$custom-light: #f896db;
$custom-dark: #000000;
JSON
{
  "hex": "#f062cc",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 315.211,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70862,
    "c": 0.20943,
    "h": 338.7
  },
  "luminance": 0.3162
}

Semantic roles & 50–950 ramp

primary
#F062CC
secondary
#C0EECB
accent
#DF3D07
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F062CC

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

Preview Lab → · Contrast checker → · Palette generator →

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