#F07EC7#F07EC7

#F07EC7 is a light, vivid pink. Relative luminance 0.376; OKLCH L 74.3% C 0.163 H 342.7°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#F07EC7
RGBrgb(240, 126, 199)
HSLhsl(322, 79%, 72%)
HSVhsv(322, 48%, 94%)
CMYKcmyk(0%, 47.5%, 17.1%, 5.9%)
CIE-LABlab(67.71, 52.56, -18.22)
CIE-LCHlch(67.71, 55.63, 340.88°)
OKLaboklab(74.27% 0.1557 -0.0484)
OKLCHoklch(74.27% 0.163 342.7)
XYZxyz(53.7057, 37.5744, 58.4457)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EC7 #7EF0A7
analogous
#E07EF0 #F07EC7 #F07E8E
triadic
#F07EC7 #C7F07E #7EC7F0
tetradic
#F07EC7 #F0E07E #7EF0A7 #7E8EF0
square
#F07EC7 #F0E07E #7EF0A7 #7E8EF0
split-complementary
#F07EC7 #8EF07E #7EF0E0
monochromatic
#DA1995 #EA47AF #F07EC7 #F6B5DF #FCE4F3

Accessibility & contrast

On white

2.47
#F07EC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#F07EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EC7
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EC7#FFFFFF#000000##000000
##F07EC71.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8599CA
Deuteranopia (green-blind)
#A4ACC4
Tritanopia (blue-blind)
#FC7E9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07ec7;
/* rgb */ color: rgb(240, 126, 199);
/* oklch */ color: oklch(74.3% 0.163 342.7);
Tailwind
colors: {
  custom: {
    50: '#f7a6d8',
    500: '#f07ec7',
    950: '#000000',
  },
}
SCSS
$custom: #f07ec7;
$custom-light: #f7a6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ec7",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 321.579,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74271,
    "c": 0.16303,
    "h": 342.7
  },
  "luminance": 0.3757
}

Semantic roles & 50–950 ramp

primary
#F07EC7
secondary
#D6F3E1
accent
#DB550A
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #F07EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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