#F06CD2#F06CD2

#F06CD2 is a light, vivid pink. Relative luminance 0.339; OKLCH L 72.3% C 0.199 H 337.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#F06CD2
RGBrgb(240, 108, 210)
HSLhsl(314, 81%, 68%)
HSVhsv(314, 55%, 94%)
CMYKcmyk(0%, 55%, 12.5%, 5.9%)
CIE-LABlab(64.89, 62.70, -28.69)
CIE-LCHlch(64.89, 68.96, 335.41°)
OKLaboklab(72.31% 0.1833 -0.0775)
OKLCHoklch(72.31% 0.199 337.1)
XYZxyz(52.9311, 33.9076, 64.7173)
Luminance0.3390 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CD2 #6CF08A
analogous
#CC6CF0 #F06CD2 #F06C90
triadic
#F06CD2 #D2F06C #6CD2F0
tetradic
#F06CD2 #F0CC6C #6CF08A #6C90F0
square
#F06CD2 #F0CC6C #6CF08A #6C90F0
split-complementary
#F06CD2 #90F06C #6CF0CC
monochromatic
#CD15A3 #EA34C1 #F06CD2 #F6A4E3 #FBDBF4

Accessibility & contrast

On white

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

On black

7.78
#F06CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CD2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CD2#FFFFFF#000000##000000
##F06CD21.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F91D5
Deuteranopia (green-blind)
#95A5CE
Tritanopia (blue-blind)
#FB7196
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f06cd2;
/* rgb */ color: rgb(240, 108, 210);
/* oklch */ color: oklch(72.3% 0.199 337.1);
Tailwind
colors: {
  custom: {
    50: '#f89ce0',
    500: '#f06cd2',
    950: '#000000',
  },
}
SCSS
$custom: #f06cd2;
$custom-light: #f89ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cd2",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 313.636,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7231,
    "c": 0.19906,
    "h": 337.1
  },
  "luminance": 0.33904
}

Semantic roles & 50–950 ramp

primary
#F06CD2
secondary
#C8F0D1
accent
#DE3808
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180F15
muted
#867E83

Preview Lab

Preview with #F06CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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