#F06DC2#F06DC2

#F06DC2 is a light, vivid pink. Relative luminance 0.334; OKLCH L 71.8% C 0.187 H 343.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#F06DC2
RGBrgb(240, 109, 194)
HSLhsl(321, 81%, 68%)
HSVhsv(321, 55%, 94%)
CMYKcmyk(0%, 54.6%, 19.2%, 5.9%)
CIE-LABlab(64.45, 59.90, -20.35)
CIE-LCHlch(64.45, 63.26, 341.23°)
OKLaboklab(71.79% 0.1785 -0.0542)
OKLCHoklch(71.79% 0.187 343.1)
XYZxyz(51.1426, 33.3619, 54.7744)
Luminance0.3336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06DC2 #6DF09B
analogous
#DC6DF0 #F06DC2 #F06D80
triadic
#F06DC2 #C2F06D #6DC2F0
tetradic
#F06DC2 #F0DC6D #6DF09B #6D80F0
square
#F06DC2 #F0DC6D #6DF09B #6D80F0
split-complementary
#F06DC2 #80F06D #6DF0DC
monochromatic
#CD158D #EA36AB #F06DC2 #F6A4D9 #FBDCF0

Accessibility & contrast

On white

2.74
#F06DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#F06DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06DC2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06DC2#FFFFFF#000000##000000
##F06DC21.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#778FC5
Deuteranopia (green-blind)
#9BA4BF
Tritanopia (blue-blind)
#FD6D8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f06dc2;
/* rgb */ color: rgb(240, 109, 194);
/* oklch */ color: oklch(71.8% 0.187 343.1);
Tailwind
colors: {
  custom: {
    50: '#f89cd4',
    500: '#f06dc2',
    950: '#000000',
  },
}
SCSS
$custom: #f06dc2;
$custom-light: #f89cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f06dc2",
  "rgb": {
    "r": 240,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 321.069,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71788,
    "c": 0.18654,
    "h": 343.1
  },
  "luminance": 0.33358
}

Semantic roles & 50–950 ramp

primary
#F06DC2
secondary
#C9F0D7
accent
#DE5308
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180F14
muted
#867E83

Preview Lab

Preview with #F06DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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