#F062C4#F062C4

#F062C4 is a light, highly saturated pink. Relative luminance 0.312; OKLCH L 70.5% C 0.204 H 341.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#F062C4
RGBrgb(240, 98, 196)
HSLhsl(319, 83%, 66%)
HSVhsv(319, 59%, 94%)
CMYKcmyk(0%, 59.2%, 18.3%, 5.9%)
CIE-LABlab(62.72, 65.04, -24.14)
CIE-LCHlch(62.72, 69.38, 339.64°)
OKLaboklab(70.53% 0.1936 -0.0646)
OKLCHoklch(70.53% 0.204 341.5)
XYZxyz(50.2678, 31.2505, 55.5984)
Luminance0.3125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062C4 #62F08E
analogous
#D562F0 #F062C4 #F0627D
triadic
#F062C4 #C4F062 #62C4F0
tetradic
#F062C4 #F0D562 #62F08E #627DF0
square
#F062C4 #F0D562 #62F08E #627DF0
split-complementary
#F062C4 #7DF062 #62F0D5
monochromatic
#C5138E #EB2AAF #F062C4 #F59AD9 #FBD2EE

Accessibility & contrast

On white

2.90
#F062C4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#F062C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062C4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062C4#FFFFFF#000000##000000
##F062C41.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B89C7
Deuteranopia (green-blind)
#95A0C0
Tritanopia (blue-blind)
#FD648B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f062c4;
/* rgb */ color: rgb(240, 98, 196);
/* oklch */ color: oklch(70.5% 0.204 341.5);
Tailwind
colors: {
  custom: {
    50: '#f896d6',
    500: '#f062c4',
    950: '#000000',
  },
}
SCSS
$custom: #f062c4;
$custom-light: #f896d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f062c4",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 196
  },
  "hsl": {
    "h": 318.592,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.7053,
    "c": 0.20406,
    "h": 341.5
  },
  "luminance": 0.31246
}

Semantic roles & 50–950 ramp

primary
#F062C4
secondary
#C0EECE
accent
#DF4A07
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #F062C4

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

Preview Lab → · Contrast checker → · Palette generator →

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