#F07FC2#F07FC2

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

Color values

HEX#F07FC2
RGBrgb(240, 127, 194)
HSLhsl(324, 79%, 72%)
HSVhsv(324, 47%, 94%)
CMYKcmyk(0%, 47.1%, 19.2%, 5.9%)
CIE-LABlab(67.73, 51.33, -15.39)
CIE-LCHlch(67.73, 53.59, 343.31°)
OKLaboklab(74.23% 0.1528 -0.0406)
OKLCHoklch(74.23% 0.158 345.1)
XYZxyz(53.2632, 37.6030, 55.4813)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FC2 #7FF0AD
analogous
#E67FF0 #F07FC2 #F07F8A
triadic
#F07FC2 #C2F07F #7FC2F0
tetradic
#F07FC2 #F0E67F #7FF0AD #7F8AF0
square
#F07FC2 #F0E67F #7FF0AD #7F8AF0
split-complementary
#F07FC2 #8AF07F #7FF0E6
monochromatic
#DB1A8C #EA48A8 #F07FC2 #F6B6DC #FCE4F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F07FC2#FFFFFF#000000##000000
##F07FC21.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)
#8899C4
Deuteranopia (green-blind)
#A6ACBF
Tritanopia (blue-blind)
#FD7E98
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07fc2;
/* rgb */ color: rgb(240, 127, 194);
/* oklch */ color: oklch(74.2% 0.158 345.1);
Tailwind
colors: {
  custom: {
    50: '#f7a7d4',
    500: '#f07fc2',
    950: '#000000',
  },
}
SCSS
$custom: #f07fc2;
$custom-light: #f7a7d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fc2",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 324.425,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74231,
    "c": 0.15815,
    "h": 345.1
  },
  "luminance": 0.37599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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