#F07FC4#F07FC4

#F07FC4 is a light, vivid pink. Relative luminance 0.377; OKLCH L 74.3% C 0.159 H 344.2°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#F07FC4
RGBrgb(240, 127, 196)
HSLhsl(323, 79%, 72%)
HSVhsv(323, 47%, 94%)
CMYKcmyk(0%, 47.1%, 18.3%, 5.9%)
CIE-LABlab(67.79, 51.62, -16.41)
CIE-LCHlch(67.79, 54.17, 342.37°)
OKLaboklab(74.3% 0.1534 -0.0434)
OKLCHoklch(74.3% 0.159 344.2)
XYZxyz(53.4893, 37.6935, 56.6722)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FC4 #7FF0AB
analogous
#E47FF0 #F07FC4 #F07F8C
triadic
#F07FC4 #C4F07F #7FC4F0
tetradic
#F07FC4 #F0E47F #7FF0AB #7F8CF0
square
#F07FC4 #F0E47F #7FF0AB #7F8CF0
split-complementary
#F07FC4 #8CF07F #7FF0E4
monochromatic
#DB1A90 #EA48AB #F07FC4 #F6B6DD #FCE4F2

Accessibility & contrast

On white

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

On black

8.54
#F07FC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FC4
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FC4#FFFFFF#000000##000000
##F07FC41.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#879AC6
Deuteranopia (green-blind)
#A5ACC1
Tritanopia (blue-blind)
#FD7F99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07fc4;
/* rgb */ color: rgb(240, 127, 196);
/* oklch */ color: oklch(74.3% 0.159 344.2);
Tailwind
colors: {
  custom: {
    50: '#f7a7d6',
    500: '#f07fc4',
    950: '#000000',
  },
}
SCSS
$custom: #f07fc4;
$custom-light: #f7a7d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fc4",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 323.363,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74303,
    "c": 0.15943,
    "h": 344.2
  },
  "luminance": 0.3769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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