#F06FA2#F06FA2

#F06FA2 is a light, vivid pink. Relative luminance 0.325; OKLCH L 70.9% C 0.167 H 357.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#F06FA2
RGBrgb(240, 111, 162)
HSLhsl(336, 81%, 69%)
HSVhsv(336, 54%, 94%)
CMYKcmyk(0%, 53.8%, 32.5%, 5.9%)
CIE-LABlab(63.76, 54.77, -3.19)
CIE-LCHlch(63.76, 54.87, 356.67°)
OKLaboklab(70.93% 0.1666 -0.0077)
OKLCHoklch(70.93% 0.167 357.4)
XYZxyz(48.1435, 32.5075, 37.9145)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06FA2 #6FF0BD
analogous
#F06FE3 #F06FA2 #F07D6F
triadic
#F06FA2 #A2F06F #6FA2F0
tetradic
#F06FA2 #E3F06F #6FF0BD #7D6FF0
square
#F06FA2 #E3F06F #6FF0BD #7D6FF0
split-complementary
#F06FA2 #6FF07D #6FE3F0
monochromatic
#CF165F #EA387E #F06FA2 #F6A6C6 #FCDEEA

Accessibility & contrast

On white

2.80
#F06FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#F06FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06FA2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06FA2#FFFFFF#000000##000000
##F06FA21.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#838CA4
Deuteranopia (green-blind)
#A5A39F
Tritanopia (blue-blind)
#FF6682
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f06fa2;
/* rgb */ color: rgb(240, 111, 162);
/* oklch */ color: oklch(70.9% 0.167 357.4);
Tailwind
colors: {
  custom: {
    50: '#f89dbd',
    500: '#f06fa2',
    950: '#000000',
  },
}
SCSS
$custom: #f06fa2;
$custom-light: #f89dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#f06fa2",
  "rgb": {
    "r": 240,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 336.279,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70929,
    "c": 0.16673,
    "h": 357.4
  },
  "luminance": 0.32503
}

Semantic roles & 50–950 ramp

primary
#F06FA2
secondary
#CAF0E1
accent
#DD8908
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180F12
muted
#867E81

Preview Lab

Preview with #F06FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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