#F07EC8#F07EC8

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

Color values

HEX#F07EC8
RGBrgb(240, 126, 200)
HSLhsl(321, 79%, 72%)
HSVhsv(321, 48%, 94%)
CMYKcmyk(0%, 47.5%, 16.7%, 5.9%)
CIE-LABlab(67.74, 52.71, -18.73)
CIE-LCHlch(67.74, 55.94, 340.44°)
OKLaboklab(74.31% 0.1559 -0.0498)
OKLCHoklch(74.31% 0.164 342.3)
XYZxyz(53.8222, 37.6210, 59.0592)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EC8 #7EF0A6
analogous
#DF7EF0 #F07EC8 #F07E8F
triadic
#F07EC8 #C8F07E #7EC8F0
tetradic
#F07EC8 #F0DF7E #7EF0A6 #7E8FF0
square
#F07EC8 #F0DF7E #7EF0A6 #7E8FF0
split-complementary
#F07EC8 #8FF07E #7EF0DF
monochromatic
#DA1997 #EA47B1 #F07EC8 #F6B5DF #FCE4F3

Accessibility & contrast

On white

2.46
#F07EC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#F07EC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EC8
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EC8#FFFFFF#000000##000000
##F07EC81.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ACB
Deuteranopia (green-blind)
#A3ACC5
Tritanopia (blue-blind)
#FC7F9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07ec8;
/* rgb */ color: rgb(240, 126, 200);
/* oklch */ color: oklch(74.3% 0.164 342.3);
Tailwind
colors: {
  custom: {
    50: '#f7a6d8',
    500: '#f07ec8',
    950: '#000000',
  },
}
SCSS
$custom: #f07ec8;
$custom-light: #f7a6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ec8",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 321.053,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74308,
    "c": 0.16371,
    "h": 342.3
  },
  "luminance": 0.37617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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