#F062A5#F062A5

#F062A5 is a light, vivid pink. Relative luminance 0.300; OKLCH L 69.4% C 0.187 H 353.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#F062A5
RGBrgb(240, 98, 165)
HSLhsl(332, 83%, 66%)
HSVhsv(332, 59%, 94%)
CMYKcmyk(0%, 59.2%, 31.2%, 5.9%)
CIE-LABlab(61.64, 61.01, -8.05)
CIE-LCHlch(61.64, 61.54, 352.48°)
OKLaboklab(69.38% 0.1857 -0.0205)
OKLCHoklch(69.38% 0.187 353.7)
XYZxyz(47.0967, 29.9821, 38.8968)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062A5 #62F0AD
analogous
#F062EC #F062A5 #F06662
triadic
#F062A5 #A5F062 #62A5F0
tetradic
#F062A5 #ECF062 #62F0AD #6662F0
square
#F062A5 #ECF062 #62F0AD #6662F0
split-complementary
#F062A5 #62F066 #62ECF0
monochromatic
#C51367 #EB2A85 #F062A5 #F59AC5 #FBD2E5

Accessibility & contrast

On white

3.00
#F062A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#F062A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062A5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062A5#FFFFFF#000000##000000
##F062A51.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7785A7
Deuteranopia (green-blind)
#9D9EA2
Tritanopia (blue-blind)
#FF597C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f062a5;
/* rgb */ color: rgb(240, 98, 165);
/* oklch */ color: oklch(69.4% 0.187 353.7);
Tailwind
colors: {
  custom: {
    50: '#f995bf',
    500: '#f062a5',
    950: '#000000',
  },
}
SCSS
$custom: #f062a5;
$custom-light: #f995bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f062a5",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 165
  },
  "hsl": {
    "h": 331.69,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69376,
    "c": 0.1868,
    "h": 353.7
  },
  "luminance": 0.29977
}

Semantic roles & 50–950 ramp

primary
#F062A5
secondary
#C0EED8
accent
#DF7907
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F062A5

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

Preview Lab → · Contrast checker → · Palette generator →

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