#F062B2#F062B2

#F062B2 is a light, vivid pink. Relative luminance 0.305; OKLCH L 69.8% C 0.193 H 348.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#F062B2
RGBrgb(240, 98, 178)
HSLhsl(326, 83%, 66%)
HSVhsv(326, 59%, 94%)
CMYKcmyk(0%, 59.2%, 25.8%, 5.9%)
CIE-LABlab(62.07, 62.62, -14.87)
CIE-LCHlch(62.07, 64.36, 346.64°)
OKLaboklab(69.83% 0.1893 -0.039)
OKLCHoklch(69.83% 0.193 348.4)
XYZxyz(48.3406, 30.4796, 45.4481)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062B2 #62F0A0
analogous
#E762F0 #F062B2 #F0626B
triadic
#F062B2 #B2F062 #62B2F0
tetradic
#F062B2 #F0E762 #62F0A0 #626BF0
square
#F062B2 #F0E762 #62F0A0 #626BF0
split-complementary
#F062B2 #6BF062 #62F0E7
monochromatic
#C51377 #EB2A97 #F062B2 #F59ACD #FBD2E9

Accessibility & contrast

On white

2.96
#F062B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#F062B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062B2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062B2#FFFFFF#000000##000000
##F062B21.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#9A9FAF
Tritanopia (blue-blind)
#FF5E82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f062b2;
/* rgb */ color: rgb(240, 98, 178);
/* oklch */ color: oklch(69.8% 0.193 348.4);
Tailwind
colors: {
  custom: {
    50: '#f995c9',
    500: '#f062b2',
    950: '#000000',
  },
}
SCSS
$custom: #f062b2;
$custom-light: #f995c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f062b2",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 326.197,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69833,
    "c": 0.19328,
    "h": 348.4
  },
  "luminance": 0.30475
}

Semantic roles & 50–950 ramp

primary
#F062B2
secondary
#C0EED4
accent
#DF6507
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #F062B2

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

Preview Lab → · Contrast checker → · Palette generator →

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