#F07EC4#F07EC4

#F07EC4 is a light, vivid pink. Relative luminance 0.374; OKLCH L 74.2% C 0.161 H 344.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#F07EC4
RGBrgb(240, 126, 196)
HSLhsl(323, 79%, 72%)
HSVhsv(323, 48%, 94%)
CMYKcmyk(0%, 47.5%, 18.3%, 5.9%)
CIE-LABlab(67.60, 52.12, -16.70)
CIE-LCHlch(67.60, 54.73, 342.24°)
OKLaboklab(74.16% 0.1549 -0.0442)
OKLCHoklch(74.16% 0.161 344.1)
XYZxyz(53.3608, 37.4365, 56.6293)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EC4 #7EF0AA
analogous
#E37EF0 #F07EC4 #F07E8B
triadic
#F07EC4 #C4F07E #7EC4F0
tetradic
#F07EC4 #F0E37E #7EF0AA #7E8BF0
square
#F07EC4 #F0E37E #7EF0AA #7E8BF0
split-complementary
#F07EC4 #8BF07E #7EF0E3
monochromatic
#DA1990 #EA47AB #F07EC4 #F6B5DD #FCE4F2

Accessibility & contrast

On white

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

On black

8.49
#F07EC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EC4
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EC4#FFFFFF#000000##000000
##F07EC41.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8699C6
Deuteranopia (green-blind)
#A5ACC1
Tritanopia (blue-blind)
#FD7E98
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07ec4;
/* rgb */ color: rgb(240, 126, 196);
/* oklch */ color: oklch(74.2% 0.161 344.1);
Tailwind
colors: {
  custom: {
    50: '#f7a6d6',
    500: '#f07ec4',
    950: '#000000',
  },
}
SCSS
$custom: #f07ec4;
$custom-light: #f7a6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ec4",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 323.158,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7416,
    "c": 0.16105,
    "h": 344.1
  },
  "luminance": 0.37432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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