#F06CA2#F06CA2

#F06CA2 is a light, vivid pink. Relative luminance 0.319; OKLCH L 70.5% C 0.171 H 356.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#F06CA2
RGBrgb(240, 108, 162)
HSLhsl(335, 81%, 68%)
HSVhsv(335, 55%, 94%)
CMYKcmyk(0%, 55%, 32.5%, 5.9%)
CIE-LABlab(63.23, 56.17, -3.97)
CIE-LCHlch(63.23, 56.31, 355.96°)
OKLaboklab(70.53% 0.1709 -0.0097)
OKLCHoklch(70.53% 0.171 356.7)
XYZxyz(47.8216, 31.8638, 37.8072)
Luminance0.3186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CA2 #6CF0BA
analogous
#F06CE4 #F06CA2 #F0786C
triadic
#F06CA2 #A2F06C #6CA2F0
tetradic
#F06CA2 #E4F06C #6CF0BA #786CF0
square
#F06CA2 #E4F06C #6CF0BA #786CF0
split-complementary
#F06CA2 #6CF078 #6CE4F0
monochromatic
#CD1560 #EA347F #F06CA2 #F6A4C5 #FBDBE8

Accessibility & contrast

On white

2.85
#F06CA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#F06CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CA2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CA2#FFFFFF#000000##000000
##F06CA21.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808AA4
Deuteranopia (green-blind)
#A3A29F
Tritanopia (blue-blind)
#FF6380
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f06ca2;
/* rgb */ color: rgb(240, 108, 162);
/* oklch */ color: oklch(70.5% 0.171 356.7);
Tailwind
colors: {
  custom: {
    50: '#f99bbd',
    500: '#f06ca2',
    950: '#000000',
  },
}
SCSS
$custom: #f06ca2;
$custom-light: #f99bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#f06ca2",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 335.455,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.17114,
    "h": 356.7
  },
  "luminance": 0.31859
}

Semantic roles & 50–950 ramp

primary
#F06CA2
secondary
#C8F0E0
accent
#DE8608
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F06CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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