#F062CB#F062CB

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

Color values

HEX#F062CB
RGBrgb(240, 98, 203)
HSLhsl(316, 83%, 66%)
HSVhsv(316, 59%, 94%)
CMYKcmyk(0%, 59.2%, 15.4%, 5.9%)
CIE-LABlab(62.99, 66.04, -27.68)
CIE-LCHlch(62.99, 71.61, 337.26°)
OKLaboklab(70.82% 0.195 -0.0746)
OKLCHoklch(70.82% 0.209 339.1)
XYZxyz(51.0832, 31.5767, 59.8928)
Luminance0.3157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062CB #62F087
analogous
#CE62F0 #F062CB #F06284
triadic
#F062CB #CBF062 #62CBF0
tetradic
#F062CB #F0CE62 #62F087 #6284F0
square
#F062CB #F0CE62 #62F087 #6284F0
split-complementary
#F062CB #84F062 #62F0CE
monochromatic
#C51396 #EB2AB8 #F062CB #F59ADE #FBD2F0

Accessibility & contrast

On white

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

On black

7.31
#F062CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062CB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062CB#FFFFFF#000000##000000
##F062CB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#92A1C7
Tritanopia (blue-blind)
#FD668E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f062cb;
/* rgb */ color: rgb(240, 98, 203);
/* oklch */ color: oklch(70.8% 0.209 339.1);
Tailwind
colors: {
  custom: {
    50: '#f896db',
    500: '#f062cb',
    950: '#000000',
  },
}
SCSS
$custom: #f062cb;
$custom-light: #f896db;
$custom-dark: #000000;
JSON
{
  "hex": "#f062cb",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 315.634,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.7082,
    "c": 0.20874,
    "h": 339.1
  },
  "luminance": 0.31572
}

Semantic roles & 50–950 ramp

primary
#F062CB
secondary
#C0EECC
accent
#DF3F07
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F062CB

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

Preview Lab → · Contrast checker → · Palette generator →

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