#F06CDC#F06CDC

#F06CDC is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.7% C 0.207 H 333.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#F06CDC
RGBrgb(240, 108, 220)
HSLhsl(309, 81%, 68%)
HSVhsv(309, 55%, 94%)
CMYKcmyk(0%, 55%, 8.3%, 5.9%)
CIE-LABlab(65.30, 64.25, -33.66)
CIE-LCHlch(65.30, 72.54, 332.35°)
OKLaboklab(72.74% 0.1851 -0.0916)
OKLCHoklch(72.74% 0.207 333.7)
XYZxyz(54.2161, 34.4215, 71.4847)
Luminance0.3442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CDC #6CF080
analogous
#C26CF0 #F06CDC #F06C9A
triadic
#F06CDC #DCF06C #6CDCF0
tetradic
#F06CDC #F0C26C #6CF080 #6C9AF0
square
#F06CDC #F0C26C #6CF080 #6C9AF0
split-complementary
#F06CDC #9AF06C #6CF0C2
monochromatic
#CD15B1 #EA34CF #F06CDC #F6A4E9 #FBDBF6

Accessibility & contrast

On white

2.66
#F06CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#F06CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CDC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CDC#FFFFFF#000000##000000
##F06CDC1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92E0
Deuteranopia (green-blind)
#92A6D8
Tritanopia (blue-blind)
#FA759A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f06cdc;
/* rgb */ color: rgb(240, 108, 220);
/* oklch */ color: oklch(72.7% 0.207 333.7);
Tailwind
colors: {
  custom: {
    50: '#f89ce7',
    500: '#f06cdc',
    950: '#000000',
  },
}
SCSS
$custom: #f06cdc;
$custom-light: #f89ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cdc",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 309.091,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72743,
    "c": 0.20656,
    "h": 333.7
  },
  "luminance": 0.34418
}

Semantic roles & 50–950 ramp

primary
#F06CDC
secondary
#C8F0CE
accent
#DE2808
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180F16
muted
#867E84

Preview Lab

Preview with #F06CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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