#F047A6#F047A6

#F047A6 is a light, highly saturated pink. Relative luminance 0.258; OKLCH L 66.6% C 0.222 H 350.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#F047A6
RGBrgb(240, 71, 166)
HSLhsl(326, 85%, 61%)
HSVhsv(326, 70%, 94%)
CMYKcmyk(0%, 70.4%, 30.8%, 5.9%)
CIE-LABlab(57.84, 71.65, -14.33)
CIE-LCHlch(57.84, 73.07, 348.69°)
OKLaboklab(66.58% 0.2187 -0.0373)
OKLCHoklch(66.58% 0.222 350.3)
XYZxyz(45.0737, 25.7900, 38.6733)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F047A6 #47F091
analogous
#E547F0 #F047A6 #F04751
triadic
#F047A6 #A6F047 #47A6F0
tetradic
#F047A6 #F0E547 #47F091 #4751F0
square
#F047A6 #F0E547 #47F091 #4751F0
split-complementary
#F047A6 #51F047 #47F0E5
monochromatic
#AE0E68 #E7138A #F047A6 #F580C1 #F9B8DD

Accessibility & contrast

On white

3.41
#F047A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#F047A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F047A6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F047A6#FFFFFF#000000##000000
##F047A61.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6278A9
Deuteranopia (green-blind)
#9296A2
Tritanopia (blue-blind)
#FF3D70
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f047a6;
/* rgb */ color: rgb(240, 71, 166);
/* oklch */ color: oklch(66.6% 0.222 350.3);
Tailwind
colors: {
  custom: {
    50: '#fa87c0',
    500: '#f047a6',
    950: '#000000',
  },
}
SCSS
$custom: #f047a6;
$custom-light: #fa87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#f047a6",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 326.272,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66583,
    "c": 0.2219,
    "h": 350.3
  },
  "luminance": 0.25785
}

Semantic roles & 50–950 ramp

primary
#F047A6
secondary
#AAE9C5
accent
#E16504
background
#FFF8FB
surface
#FFF0F7
border
#D7CBD0
text
#180C12
muted
#867D81

Preview Lab

Preview with #F047A6

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

Preview Lab → · Contrast checker → · Palette generator →

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