#F06CD8#F06CD8

#F06CD8 is a light, highly saturated pink. Relative luminance 0.342; OKLCH L 72.6% C 0.204 H 335.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#F06CD8
RGBrgb(240, 108, 216)
HSLhsl(311, 81%, 68%)
HSVhsv(311, 55%, 94%)
CMYKcmyk(0%, 55%, 10%, 5.9%)
CIE-LABlab(65.13, 63.63, -31.68)
CIE-LCHlch(65.13, 71.08, 333.53°)
OKLaboklab(72.57% 0.1845 -0.086)
OKLCHoklch(72.57% 0.204 335)
XYZxyz(53.6927, 34.2122, 68.7281)
Luminance0.3421 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CD8 #6CF084
analogous
#C66CF0 #F06CD8 #F06C96
triadic
#F06CD8 #D8F06C #6CD8F0
tetradic
#F06CD8 #F0C66C #6CF084 #6C96F0
square
#F06CD8 #F0C66C #6CF084 #6C96F0
split-complementary
#F06CD8 #96F06C #6CF0C6
monochromatic
#CD15AB #EA34C9 #F06CD8 #F6A4E7 #FBDBF5

Accessibility & contrast

On white

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

On black

7.84
#F06CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CD8
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CD8#FFFFFF#000000##000000
##F06CD81.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C92DB
Deuteranopia (green-blind)
#93A5D4
Tritanopia (blue-blind)
#FA7399
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f06cd8;
/* rgb */ color: rgb(240, 108, 216);
/* oklch */ color: oklch(72.6% 0.204 335.0);
Tailwind
colors: {
  custom: {
    50: '#f89ce4',
    500: '#f06cd8',
    950: '#000000',
  },
}
SCSS
$custom: #f06cd8;
$custom-light: #f89ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cd8",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 310.909,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72567,
    "c": 0.20351,
    "h": 335
  },
  "luminance": 0.34208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F06CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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