#F062D2#F062D2

#F062D2 is a light, highly saturated pink. Relative luminance 0.319; OKLCH L 71.1% C 0.214 H 336.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#F062D2
RGBrgb(240, 98, 210)
HSLhsl(313, 83%, 66%)
HSVhsv(313, 59%, 94%)
CMYKcmyk(0%, 59.2%, 12.5%, 5.9%)
CIE-LABlab(63.27, 67.07, -31.19)
CIE-LCHlch(63.27, 73.97, 335.06°)
OKLaboklab(71.12% 0.1962 -0.0845)
OKLCHoklch(71.12% 0.214 336.7)
XYZxyz(51.9363, 31.9179, 64.3857)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062D2 #62F080
analogous
#C762F0 #F062D2 #F0628B
triadic
#F062D2 #D2F062 #62D2F0
tetradic
#F062D2 #F0C762 #62F080 #628BF0
square
#F062D2 #F0C762 #62F080 #628BF0
split-complementary
#F062D2 #8BF062 #62F0C7
monochromatic
#C5139F #EB2AC2 #F062D2 #F59AE2 #FBD2F2

Accessibility & contrast

On white

2.84
#F062D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#F062D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062D2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062D2#FFFFFF#000000##000000
##F062D21.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#658BD5
Deuteranopia (green-blind)
#90A1CE
Tritanopia (blue-blind)
#FC6991
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f062d2;
/* rgb */ color: rgb(240, 98, 210);
/* oklch */ color: oklch(71.1% 0.214 336.7);
Tailwind
colors: {
  custom: {
    50: '#f896e0',
    500: '#f062d2',
    950: '#000000',
  },
}
SCSS
$custom: #f062d2;
$custom-light: #f896e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f062d2",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 312.676,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71121,
    "c": 0.21364,
    "h": 336.7
  },
  "luminance": 0.31914
}

Semantic roles & 50–950 ramp

primary
#F062D2
secondary
#C0EECA
accent
#DF3407
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F062D2

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

Preview Lab → · Contrast checker → · Palette generator →

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