#F07FC6#F07FC6

#F07FC6 is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.4% C 0.161 H 343.3°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#F07FC6
RGBrgb(240, 127, 198)
HSLhsl(322, 79%, 72%)
HSVhsv(322, 47%, 94%)
CMYKcmyk(0%, 47.1%, 17.5%, 5.9%)
CIE-LABlab(67.86, 51.92, -17.42)
CIE-LCHlch(67.86, 54.77, 341.45°)
OKLaboklab(74.38% 0.1539 -0.0462)
OKLCHoklch(74.38% 0.161 343.3)
XYZxyz(53.7185, 37.7852, 57.8791)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FC6 #7FF0A9
analogous
#E27FF0 #F07FC6 #F07F8E
triadic
#F07FC6 #C6F07F #7FC6F0
tetradic
#F07FC6 #F0E27F #7FF0A9 #7F8EF0
square
#F07FC6 #F0E27F #7FF0A9 #7F8EF0
split-complementary
#F07FC6 #8EF07F #7FF0E2
monochromatic
#DB1A93 #EA48AE #F07FC6 #F6B6DE #FCE4F3

Accessibility & contrast

On white

2.45
#F07FC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#F07FC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FC6
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FC6#FFFFFF#000000##000000
##F07FC61.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#879AC8
Deuteranopia (green-blind)
#A5ACC3
Tritanopia (blue-blind)
#FC7F9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07fc6;
/* rgb */ color: rgb(240, 127, 198);
/* oklch */ color: oklch(74.4% 0.161 343.3);
Tailwind
colors: {
  custom: {
    50: '#f7a7d7',
    500: '#f07fc6',
    950: '#000000',
  },
}
SCSS
$custom: #f07fc6;
$custom-light: #f7a7d7;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fc6",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 198
  },
  "hsl": {
    "h": 322.301,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74376,
    "c": 0.16073,
    "h": 343.3
  },
  "luminance": 0.37781
}

Semantic roles & 50–950 ramp

primary
#F07FC6
secondary
#D7F4E2
accent
#DB580A
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #F07FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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