#F047A7#F047A7

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

Color values

HEX#F047A7
RGBrgb(240, 71, 167)
HSLhsl(326, 85%, 61%)
HSVhsv(326, 70%, 94%)
CMYKcmyk(0%, 70.4%, 30.4%, 5.9%)
CIE-LABlab(57.87, 71.76, -14.86)
CIE-LCHlch(57.87, 73.28, 348.30°)
OKLaboklab(66.62% 0.219 -0.0388)
OKLCHoklch(66.62% 0.222 350)
XYZxyz(45.1658, 25.8268, 39.1583)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F047A7 #47F090
analogous
#E447F0 #F047A7 #F04752
triadic
#F047A7 #A7F047 #47A7F0
tetradic
#F047A7 #F0E447 #47F090 #4752F0
square
#F047A7 #F0E447 #47F090 #4752F0
split-complementary
#F047A7 #52F047 #47F0E4
monochromatic
#AE0E69 #E7138B #F047A7 #F580C2 #F9B8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F047A7#FFFFFF#000000##000000
##F047A71.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)
#6178AA
Deuteranopia (green-blind)
#9296A3
Tritanopia (blue-blind)
#FF3D71
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f047a7;
/* rgb */ color: rgb(240, 71, 167);
/* oklch */ color: oklch(66.6% 0.222 350.0);
Tailwind
colors: {
  custom: {
    50: '#fa87c1',
    500: '#f047a7',
    950: '#000000',
  },
}
SCSS
$custom: #f047a7;
$custom-light: #fa87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f047a7",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 325.917,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6662,
    "c": 0.22239,
    "h": 350
  },
  "luminance": 0.25822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F047A7

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

Preview Lab → · Contrast checker → · Palette generator →

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