#F06CD5#F06CD5

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

Color values

HEX#F06CD5
RGBrgb(240, 108, 213)
HSLhsl(312, 81%, 68%)
HSVhsv(312, 55%, 94%)
CMYKcmyk(0%, 55%, 11.2%, 5.9%)
CIE-LABlab(65.01, 63.16, -30.19)
CIE-LCHlch(65.01, 70.01, 334.45°)
OKLaboklab(72.44% 0.1839 -0.0818)
OKLCHoklch(72.44% 0.201 336)
XYZxyz(53.3084, 34.0585, 66.7041)
Luminance0.3405 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CD5 #6CF087
analogous
#C96CF0 #F06CD5 #F06C93
triadic
#F06CD5 #D5F06C #6CD5F0
tetradic
#F06CD5 #F0C96C #6CF087 #6C93F0
square
#F06CD5 #F0C96C #6CF087 #6C93F0
split-complementary
#F06CD5 #93F06C #6CF0C9
monochromatic
#CD15A7 #EA34C5 #F06CD5 #F6A4E5 #FBDBF5

Accessibility & contrast

On white

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

On black

7.81
#F06CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CD5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CD5#FFFFFF#000000##000000
##F06CD51.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D91D8
Deuteranopia (green-blind)
#94A5D1
Tritanopia (blue-blind)
#FB7297
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f06cd5;
/* rgb */ color: rgb(240, 108, 213);
/* oklch */ color: oklch(72.4% 0.201 336.0);
Tailwind
colors: {
  custom: {
    50: '#f89ce2',
    500: '#f06cd5',
    950: '#000000',
  },
}
SCSS
$custom: #f06cd5;
$custom-light: #f89ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cd5",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 312.273,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72437,
    "c": 0.20126,
    "h": 336
  },
  "luminance": 0.34054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F06CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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