#F062D8#F062D8

#F062D8 is a light, highly saturated pink. Relative luminance 0.322; OKLCH L 71.4% C 0.218 H 334.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#F062D8
RGBrgb(240, 98, 216)
HSLhsl(310, 83%, 66%)
HSVhsv(310, 59%, 94%)
CMYKcmyk(0%, 59.2%, 10%, 5.9%)
CIE-LABlab(63.53, 67.97, -34.17)
CIE-LCHlch(63.53, 76.08, 333.31°)
OKLaboklab(71.39% 0.1972 -0.093)
OKLCHoklch(71.39% 0.218 334.8)
XYZxyz(52.6979, 32.2225, 68.3965)
Luminance0.3222 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062D8 #62F07A
analogous
#C162F0 #F062D8 #F06291
triadic
#F062D8 #D8F062 #62D8F0
tetradic
#F062D8 #F0C162 #62F07A #6291F0
square
#F062D8 #F0C162 #62F07A #6291F0
split-complementary
#F062D8 #91F062 #62F0C1
monochromatic
#C513A7 #EB2ACA #F062D8 #F59AE6 #FBD2F4

Accessibility & contrast

On white

2.82
#F062D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#F062D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062D8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062D8#FFFFFF#000000##000000
##F062D81.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#618CDC
Deuteranopia (green-blind)
#8EA1D4
Tritanopia (blue-blind)
#FB6B94
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f062d8;
/* rgb */ color: rgb(240, 98, 216);
/* oklch */ color: oklch(71.4% 0.218 334.8);
Tailwind
colors: {
  custom: {
    50: '#f896e4',
    500: '#f062d8',
    950: '#000000',
  },
}
SCSS
$custom: #f062d8;
$custom-light: #f896e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f062d8",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 310.141,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71388,
    "c": 0.21799,
    "h": 334.8
  },
  "luminance": 0.32218
}

Semantic roles & 50–950 ramp

primary
#F062D8
secondary
#C0EEC8
accent
#DF2B07
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E15
muted
#867E84

Preview Lab

Preview with #F062D8

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

Preview Lab → · Contrast checker → · Palette generator →

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