#F06CD4#F06CD4

#F06CD4 is a light, highly saturated pink. Relative luminance 0.340; OKLCH L 72.4% C 0.201 H 336.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#F06CD4
RGBrgb(240, 108, 212)
HSLhsl(313, 81%, 68%)
HSVhsv(313, 55%, 94%)
CMYKcmyk(0%, 55%, 11.7%, 5.9%)
CIE-LABlab(64.97, 63.01, -29.69)
CIE-LCHlch(64.97, 69.66, 334.77°)
OKLaboklab(72.4% 0.1837 -0.0803)
OKLCHoklch(72.4% 0.201 336.4)
XYZxyz(53.1818, 34.0078, 66.0377)
Luminance0.3400 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CD4 #6CF088
analogous
#CA6CF0 #F06CD4 #F06C92
triadic
#F06CD4 #D4F06C #6CD4F0
tetradic
#F06CD4 #F0CA6C #6CF088 #6C92F0
square
#F06CD4 #F0CA6C #6CF088 #6C92F0
split-complementary
#F06CD4 #92F06C #6CF0CA
monochromatic
#CD15A6 #EA34C4 #F06CD4 #F6A4E4 #FBDBF4

Accessibility & contrast

On white

2.69
#F06CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#F06CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CD4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CD4#FFFFFF#000000##000000
##F06CD41.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E91D7
Deuteranopia (green-blind)
#95A5D0
Tritanopia (blue-blind)
#FB7297
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f06cd4;
/* rgb */ color: rgb(240, 108, 212);
/* oklch */ color: oklch(72.4% 0.201 336.4);
Tailwind
colors: {
  custom: {
    50: '#f89ce1',
    500: '#f06cd4',
    950: '#000000',
  },
}
SCSS
$custom: #f06cd4;
$custom-light: #f89ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cd4",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 312.727,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72395,
    "c": 0.20052,
    "h": 336.4
  },
  "luminance": 0.34004
}

Semantic roles & 50–950 ramp

primary
#F06CD4
secondary
#C8F0D0
accent
#DE3508
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180F15
muted
#867E83

Preview Lab

Preview with #F06CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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