#F07FC7#F07FC7

#F07FC7 is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.4% C 0.161 H 342.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#F07FC7
RGBrgb(240, 127, 199)
HSLhsl(322, 79%, 72%)
HSVhsv(322, 47%, 94%)
CMYKcmyk(0%, 47.1%, 17.1%, 5.9%)
CIE-LABlab(67.90, 52.07, -17.93)
CIE-LCHlch(67.90, 55.07, 341.00°)
OKLaboklab(74.41% 0.1542 -0.0476)
OKLCHoklch(74.41% 0.161 342.8)
XYZxyz(53.8342, 37.8314, 58.4885)
Luminance0.3783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FC7 #7FF0A8
analogous
#E17FF0 #F07FC7 #F07F8F
triadic
#F07FC7 #C7F07F #7FC7F0
tetradic
#F07FC7 #F0E17F #7FF0A8 #7F8FF0
square
#F07FC7 #F0E17F #7FF0A8 #7F8FF0
split-complementary
#F07FC7 #8FF07F #7FF0E1
monochromatic
#DB1A95 #EA48AF #F07FC7 #F6B6DF #FCE4F3

Accessibility & contrast

On white

2.45
#F07FC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#F07FC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FC7
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FC7#FFFFFF#000000##000000
##F07FC71.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#869AC9
Deuteranopia (green-blind)
#A4ACC4
Tritanopia (blue-blind)
#FC7F9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07fc7;
/* rgb */ color: rgb(240, 127, 199);
/* oklch */ color: oklch(74.4% 0.161 342.8);
Tailwind
colors: {
  custom: {
    50: '#f7a7d8',
    500: '#f07fc7',
    950: '#000000',
  },
}
SCSS
$custom: #f07fc7;
$custom-light: #f7a7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fc7",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 321.77,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74413,
    "c": 0.1614,
    "h": 342.8
  },
  "luminance": 0.37828
}

Semantic roles & 50–950 ramp

primary
#F07FC7
secondary
#D7F4E2
accent
#DB560A
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #F07FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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