#F06DCC#F06DCC

#F06DCC is a light, vivid pink. Relative luminance 0.338; OKLCH L 72.2% C 0.193 H 339.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#F06DCC
RGBrgb(240, 109, 204)
HSLhsl(316, 81%, 68%)
HSVhsv(316, 55%, 94%)
CMYKcmyk(0%, 54.6%, 15%, 5.9%)
CIE-LABlab(64.82, 61.35, -25.42)
CIE-LCHlch(64.82, 66.41, 337.49°)
OKLaboklab(72.19% 0.1808 -0.0683)
OKLCHoklch(72.19% 0.193 339.3)
XYZxyz(52.3037, 33.8263, 60.8894)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06DCC #6DF091
analogous
#D36DF0 #F06DCC #F06D8A
triadic
#F06DCC #CCF06D #6DCCF0
tetradic
#F06DCC #F0D36D #6DF091 #6D8AF0
square
#F06DCC #F0D36D #6DF091 #6D8AF0
split-complementary
#F06DCC #8AF06D #6DF0D3
monochromatic
#CD159B #EA36B9 #F06DCC #F6A4DF #FBDCF3

Accessibility & contrast

On white

2.70
#F06DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#F06DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06DCC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06DCC#FFFFFF#000000##000000
##F06DCC1.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CF
Deuteranopia (green-blind)
#98A5C9
Tritanopia (blue-blind)
#FC7093
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f06dcc;
/* rgb */ color: rgb(240, 109, 204);
/* oklch */ color: oklch(72.2% 0.193 339.3);
Tailwind
colors: {
  custom: {
    50: '#f89cdb',
    500: '#f06dcc',
    950: '#000000',
  },
}
SCSS
$custom: #f06dcc;
$custom-light: #f89cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f06dcc",
  "rgb": {
    "r": 240,
    "g": 109,
    "b": 204
  },
  "hsl": {
    "h": 316.489,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72185,
    "c": 0.19325,
    "h": 339.3
  },
  "luminance": 0.33822
}

Semantic roles & 50–950 ramp

primary
#F06DCC
secondary
#C9F0D4
accent
#DE4308
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180F15
muted
#867E83

Preview Lab

Preview with #F06DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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