#F062B7#F062B7

#F062B7 is a light, vivid pink. Relative luminance 0.307; OKLCH L 70.0% C 0.196 H 346.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#F062B7
RGBrgb(240, 98, 183)
HSLhsl(324, 83%, 66%)
HSVhsv(324, 59%, 94%)
CMYKcmyk(0%, 59.2%, 23.8%, 5.9%)
CIE-LABlab(62.24, 63.27, -17.47)
CIE-LCHlch(62.24, 65.64, 344.57°)
OKLaboklab(70.02% 0.1906 -0.0461)
OKLCHoklch(70.02% 0.196 346.4)
XYZxyz(48.8518, 30.6841, 48.1404)
Luminance0.3068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062B7 #62F09B
analogous
#E262F0 #F062B7 #F06270
triadic
#F062B7 #B7F062 #62B7F0
tetradic
#F062B7 #F0E262 #62F09B #6270F0
square
#F062B7 #F0E262 #62F09B #6270F0
split-complementary
#F062B7 #70F062 #62F0E2
monochromatic
#C5137D #EB2A9D #F062B7 #F59AD1 #FBD2EA

Accessibility & contrast

On white

2.94
#F062B7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#F062B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062B7
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062B7#FFFFFF#000000##000000
##F062B71.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7187BA
Deuteranopia (green-blind)
#999FB4
Tritanopia (blue-blind)
#FF5F84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f062b7;
/* rgb */ color: rgb(240, 98, 183);
/* oklch */ color: oklch(70.0% 0.196 346.4);
Tailwind
colors: {
  custom: {
    50: '#f895cc',
    500: '#f062b7',
    950: '#000000',
  },
}
SCSS
$custom: #f062b7;
$custom-light: #f895cc;
$custom-dark: #000000;
JSON
{
  "hex": "#f062b7",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 324.085,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70019,
    "c": 0.19608,
    "h": 346.4
  },
  "luminance": 0.3068
}

Semantic roles & 50–950 ramp

primary
#F062B7
secondary
#C0EED2
accent
#DF5D07
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #F062B7

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

Preview Lab → · Contrast checker → · Palette generator →

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