#F062C9#F062C9

#F062C9 is a light, highly saturated pink. Relative luminance 0.315; OKLCH L 70.7% C 0.207 H 339.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#F062C9
RGBrgb(240, 98, 201)
HSLhsl(316, 83%, 66%)
HSVhsv(316, 59%, 94%)
CMYKcmyk(0%, 59.2%, 16.3%, 5.9%)
CIE-LABlab(62.91, 65.75, -26.67)
CIE-LCHlch(62.91, 70.96, 337.92°)
OKLaboklab(70.74% 0.1946 -0.0717)
OKLCHoklch(70.74% 0.207 339.8)
XYZxyz(50.8465, 31.4820, 58.6457)
Luminance0.3148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062C9 #62F089
analogous
#D062F0 #F062C9 #F06282
triadic
#F062C9 #C9F062 #62C9F0
tetradic
#F062C9 #F0D062 #62F089 #6282F0
square
#F062C9 #F0D062 #62F089 #6282F0
split-complementary
#F062C9 #82F062 #62F0D0
monochromatic
#C51394 #EB2AB6 #F062C9 #F59ADC #FBD2EF

Accessibility & contrast

On white

2.88
#F062C9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#F062C9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062C9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062C9#FFFFFF#000000##000000
##F062C91.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACC
Deuteranopia (green-blind)
#93A0C5
Tritanopia (blue-blind)
#FD668D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f062c9;
/* rgb */ color: rgb(240, 98, 201);
/* oklch */ color: oklch(70.7% 0.207 339.8);
Tailwind
colors: {
  custom: {
    50: '#f896d9',
    500: '#f062c9',
    950: '#000000',
  },
}
SCSS
$custom: #f062c9;
$custom-light: #f896d9;
$custom-dark: #000000;
JSON
{
  "hex": "#f062c9",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 201
  },
  "hsl": {
    "h": 316.479,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70736,
    "c": 0.20738,
    "h": 339.8
  },
  "luminance": 0.31478
}

Semantic roles & 50–950 ramp

primary
#F062C9
secondary
#C0EECC
accent
#DF4207
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #F062C9

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

Preview Lab → · Contrast checker → · Palette generator →

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