#F06CD7#F06CD7

#F06CD7 is a light, highly saturated pink. Relative luminance 0.342; OKLCH L 72.5% C 0.203 H 335.3°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#F06CD7
RGBrgb(240, 108, 215)
HSLhsl(311, 81%, 68%)
HSVhsv(311, 55%, 94%)
CMYKcmyk(0%, 55%, 10.4%, 5.9%)
CIE-LABlab(65.09, 63.47, -31.19)
CIE-LCHlch(65.09, 70.72, 333.83°)
OKLaboklab(72.52% 0.1843 -0.0846)
OKLCHoklch(72.52% 0.203 335.3)
XYZxyz(53.5638, 34.1606, 68.0493)
Luminance0.3416 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CD7 #6CF085
analogous
#C76CF0 #F06CD7 #F06C95
triadic
#F06CD7 #D7F06C #6CD7F0
tetradic
#F06CD7 #F0C76C #6CF085 #6C95F0
square
#F06CD7 #F0C76C #6CF085 #6C95F0
split-complementary
#F06CD7 #95F06C #6CF0C7
monochromatic
#CD15AA #EA34C8 #F06CD7 #F6A4E6 #FBDBF5

Accessibility & contrast

On white

2.68
#F06CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#F06CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CD7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CD7#FFFFFF#000000##000000
##F06CD71.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C91DA
Deuteranopia (green-blind)
#94A5D3
Tritanopia (blue-blind)
#FB7398
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f06cd7;
/* rgb */ color: rgb(240, 108, 215);
/* oklch */ color: oklch(72.5% 0.203 335.3);
Tailwind
colors: {
  custom: {
    50: '#f89ce3',
    500: '#f06cd7',
    950: '#000000',
  },
}
SCSS
$custom: #f06cd7;
$custom-light: #f89ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cd7",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 311.364,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72524,
    "c": 0.20275,
    "h": 335.3
  },
  "luminance": 0.34157
}

Semantic roles & 50–950 ramp

primary
#F06CD7
secondary
#C8F0CF
accent
#DE3008
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180F15
muted
#867E83

Preview Lab

Preview with #F06CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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