#F062C8#F062C8

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

Color values

HEX#F062C8
RGBrgb(240, 98, 200)
HSLhsl(317, 83%, 66%)
HSVhsv(317, 59%, 94%)
CMYKcmyk(0%, 59.2%, 16.7%, 5.9%)
CIE-LABlab(62.87, 65.61, -26.16)
CIE-LCHlch(62.87, 70.63, 338.26°)
OKLaboklab(70.69% 0.1944 -0.0703)
OKLCHoklch(70.69% 0.207 340.1)
XYZxyz(50.7292, 31.4351, 58.0282)
Luminance0.3143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062C8 #62F08A
analogous
#D162F0 #F062C8 #F06281
triadic
#F062C8 #C8F062 #62C8F0
tetradic
#F062C8 #F0D162 #62F08A #6281F0
square
#F062C8 #F0D162 #62F08A #6281F0
split-complementary
#F062C8 #81F062 #62F0D1
monochromatic
#C51393 #EB2AB4 #F062C8 #F59ADC #FBD2EF

Accessibility & contrast

On white

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

On black

7.29
#F062C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062C8
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062C8#FFFFFF#000000##000000
##F062C81.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACB
Deuteranopia (green-blind)
#93A0C4
Tritanopia (blue-blind)
#FD658C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f062c8;
/* rgb */ color: rgb(240, 98, 200);
/* oklch */ color: oklch(70.7% 0.207 340.1);
Tailwind
colors: {
  custom: {
    50: '#f896d9',
    500: '#f062c8',
    950: '#000000',
  },
}
SCSS
$custom: #f062c8;
$custom-light: #f896d9;
$custom-dark: #000000;
JSON
{
  "hex": "#f062c8",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 316.901,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70694,
    "c": 0.20671,
    "h": 340.1
  },
  "luminance": 0.31431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F062C8

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

Preview Lab → · Contrast checker → · Palette generator →

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