#F062C7#F062C7

#F062C7 is a light, highly saturated pink. Relative luminance 0.314; OKLCH L 70.7% C 0.206 H 340.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#F062C7
RGBrgb(240, 98, 199)
HSLhsl(317, 83%, 66%)
HSVhsv(317, 59%, 94%)
CMYKcmyk(0%, 59.2%, 17.1%, 5.9%)
CIE-LABlab(62.83, 65.47, -25.66)
CIE-LCHlch(62.83, 70.31, 338.60°)
OKLaboklab(70.65% 0.1942 -0.0689)
OKLCHoklch(70.65% 0.206 340.5)
XYZxyz(50.6127, 31.3885, 57.4147)
Luminance0.3138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062C7 #62F08B
analogous
#D262F0 #F062C7 #F06280
triadic
#F062C7 #C7F062 #62C7F0
tetradic
#F062C7 #F0D262 #62F08B #6280F0
square
#F062C7 #F0D262 #62F08B #6280F0
split-complementary
#F062C7 #80F062 #62F0D2
monochromatic
#C51391 #EB2AB3 #F062C7 #F59ADB #FBD2EF

Accessibility & contrast

On white

2.89
#F062C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#F062C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062C7
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062C7#FFFFFF#000000##000000
##F062C71.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACA
Deuteranopia (green-blind)
#94A0C3
Tritanopia (blue-blind)
#FD658C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f062c7;
/* rgb */ color: rgb(240, 98, 199);
/* oklch */ color: oklch(70.7% 0.206 340.5);
Tailwind
colors: {
  custom: {
    50: '#f896d8',
    500: '#f062c7',
    950: '#000000',
  },
}
SCSS
$custom: #f062c7;
$custom-light: #f896d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f062c7",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 317.324,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70653,
    "c": 0.20604,
    "h": 340.5
  },
  "luminance": 0.31384
}

Semantic roles & 50–950 ramp

primary
#F062C7
secondary
#C0EECD
accent
#DF4507
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #F062C7

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

Preview Lab → · Contrast checker → · Palette generator →

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