#F07EC2#F07EC2

#F07EC2 is a light, vivid pink. Relative luminance 0.373; OKLCH L 74.1% C 0.160 H 345.0°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#F07EC2
RGBrgb(240, 126, 194)
HSLhsl(324, 79%, 72%)
HSVhsv(324, 48%, 94%)
CMYKcmyk(0%, 47.5%, 19.2%, 5.9%)
CIE-LABlab(67.54, 51.82, -15.68)
CIE-LCHlch(67.54, 54.14, 343.17°)
OKLaboklab(74.09% 0.1543 -0.0414)
OKLCHoklch(74.09% 0.16 345)
XYZxyz(53.1347, 37.3460, 55.4384)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EC2 #7EF0AC
analogous
#E57EF0 #F07EC2 #F07E89
triadic
#F07EC2 #C2F07E #7EC2F0
tetradic
#F07EC2 #F0E57E #7EF0AC #7E89F0
square
#F07EC2 #F0E57E #7EF0AC #7E89F0
split-complementary
#F07EC2 #89F07E #7EF0E5
monochromatic
#DA198C #EA47A8 #F07EC2 #F6B5DC #FCE4F2

Accessibility & contrast

On white

2.48
#F07EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#F07EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EC2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EC2#FFFFFF#000000##000000
##F07EC21.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8799C4
Deuteranopia (green-blind)
#A5ACBF
Tritanopia (blue-blind)
#FD7D98
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f07ec2;
/* rgb */ color: rgb(240, 126, 194);
/* oklch */ color: oklch(74.1% 0.160 345.0);
Tailwind
colors: {
  custom: {
    50: '#f7a6d4',
    500: '#f07ec2',
    950: '#000000',
  },
}
SCSS
$custom: #f07ec2;
$custom-light: #f7a6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ec2",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 324.211,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74087,
    "c": 0.15977,
    "h": 345
  },
  "luminance": 0.37342
}

Semantic roles & 50–950 ramp

primary
#F07EC2
secondary
#D6F3E2
accent
#DB5F0A
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #F07EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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