#F062BA#F062BA

#F062BA is a light, vivid pink. Relative luminance 0.308; OKLCH L 70.1% C 0.198 H 345.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#F062BA
RGBrgb(240, 98, 186)
HSLhsl(323, 83%, 66%)
HSVhsv(323, 59%, 94%)
CMYKcmyk(0%, 59.2%, 22.5%, 5.9%)
CIE-LABlab(62.35, 63.67, -19.02)
CIE-LCHlch(62.35, 66.45, 343.37°)
OKLaboklab(70.13% 0.1913 -0.0504)
OKLCHoklch(70.13% 0.198 345.2)
XYZxyz(49.1673, 30.8103, 49.8024)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062BA #62F098
analogous
#DF62F0 #F062BA #F06273
triadic
#F062BA #BAF062 #62BAF0
tetradic
#F062BA #F0DF62 #62F098 #6273F0
square
#F062BA #F0DF62 #62F098 #6273F0
split-complementary
#F062BA #73F062 #62F0DF
monochromatic
#C51381 #EB2AA1 #F062BA #F59AD3 #FBD2EB

Accessibility & contrast

On white

2.93
#F062BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#F062BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062BA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062BA#FFFFFF#000000##000000
##F062BA1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BD
Deuteranopia (green-blind)
#98A0B7
Tritanopia (blue-blind)
#FF6086
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f062ba;
/* rgb */ color: rgb(240, 98, 186);
/* oklch */ color: oklch(70.1% 0.198 345.2);
Tailwind
colors: {
  custom: {
    50: '#f895ce',
    500: '#f062ba',
    950: '#000000',
  },
}
SCSS
$custom: #f062ba;
$custom-light: #f895ce;
$custom-dark: #000000;
JSON
{
  "hex": "#f062ba",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 322.817,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70134,
    "c": 0.19783,
    "h": 345.2
  },
  "luminance": 0.30806
}

Semantic roles & 50–950 ramp

primary
#F062BA
secondary
#C0EED1
accent
#DF5907
background
#FFF9FC
surface
#FFF2F9
border
#D7CCD2
text
#180E13
muted
#867E82

Preview Lab

Preview with #F062BA

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

Preview Lab → · Contrast checker → · Palette generator →

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