#F062A2#F062A2

#F062A2 is a light, vivid pink. Relative luminance 0.299; OKLCH L 69.3% C 0.185 H 355.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#F062A2
RGBrgb(240, 98, 162)
HSLhsl(333, 83%, 66%)
HSVhsv(333, 59%, 94%)
CMYKcmyk(0%, 59.2%, 32.5%, 5.9%)
CIE-LABlab(61.55, 60.65, -6.46)
CIE-LCHlch(61.55, 61.00, 353.92°)
OKLaboklab(69.28% 0.1848 -0.0163)
OKLCHoklch(69.28% 0.185 355)
XYZxyz(46.8268, 29.8741, 37.4756)
Luminance0.2987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062A2 #62F0B0
analogous
#F062E9 #F062A2 #F06962
triadic
#F062A2 #A2F062 #62A2F0
tetradic
#F062A2 #E9F062 #62F0B0 #6962F0
square
#F062A2 #E9F062 #62F0B0 #6962F0
split-complementary
#F062A2 #62F069 #62E9F0
monochromatic
#C51363 #EB2A81 #F062A2 #F59AC3 #FBD2E4

Accessibility & contrast

On white

3.01
#F062A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#F062A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F062A2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062A2#FFFFFF#000000##000000
##F062A21.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A4
Deuteranopia (green-blind)
#9E9E9F
Tritanopia (blue-blind)
#FF587B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f062a2;
/* rgb */ color: rgb(240, 98, 162);
/* oklch */ color: oklch(69.3% 0.185 355.0);
Tailwind
colors: {
  custom: {
    50: '#f995bd',
    500: '#f062a2',
    950: '#000000',
  },
}
SCSS
$custom: #f062a2;
$custom-light: #f995bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f062a2",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 162
  },
  "hsl": {
    "h": 332.958,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69276,
    "c": 0.18548,
    "h": 355
  },
  "luminance": 0.29869
}

Semantic roles & 50–950 ramp

primary
#F062A2
secondary
#C0EED9
accent
#DF7D07
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F062A2

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

Preview Lab → · Contrast checker → · Palette generator →

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