#F06EC2#F06EC2

#F06EC2 is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.9% C 0.185 H 343.2°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#F06EC2
RGBrgb(240, 110, 194)
HSLhsl(321, 81%, 69%)
HSVhsv(321, 54%, 94%)
CMYKcmyk(0%, 54.2%, 19.2%, 5.9%)
CIE-LABlab(64.62, 59.44, -20.09)
CIE-LCHlch(64.62, 62.74, 341.33°)
OKLaboklab(71.92% 0.1771 -0.0535)
OKLCHoklch(71.92% 0.185 343.2)
XYZxyz(51.2499, 33.5764, 54.8102)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06EC2 #6EF09C
analogous
#DD6EF0 #F06EC2 #F06E81
triadic
#F06EC2 #C2F06E #6EC2F0
tetradic
#F06EC2 #F0DD6E #6EF09C #6E81F0
square
#F06EC2 #F0DD6E #6EF09C #6E81F0
split-complementary
#F06EC2 #81F06E #6EF0DD
monochromatic
#CE158D #EA37AB #F06EC2 #F6A5D9 #FBDDF1

Accessibility & contrast

On white

2.72
#F06EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#F06EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06EC2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06EC2#FFFFFF#000000##000000
##F06EC21.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788FC5
Deuteranopia (green-blind)
#9CA5BF
Tritanopia (blue-blind)
#FD6E8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f06ec2;
/* rgb */ color: rgb(240, 110, 194);
/* oklch */ color: oklch(71.9% 0.185 343.2);
Tailwind
colors: {
  custom: {
    50: '#f89dd4',
    500: '#f06ec2',
    950: '#000000',
  },
}
SCSS
$custom: #f06ec2;
$custom-light: #f89dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f06ec2",
  "rgb": {
    "r": 240,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 321.231,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71916,
    "c": 0.18501,
    "h": 343.2
  },
  "luminance": 0.33572
}

Semantic roles & 50–950 ramp

primary
#F06EC2
secondary
#CAF0D7
accent
#DE5408
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180F14
muted
#867E83

Preview Lab

Preview with #F06EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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