#F07FC5#F07FC5

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

Color values

HEX#F07FC5
RGBrgb(240, 127, 197)
HSLhsl(323, 79%, 72%)
HSVhsv(323, 47%, 94%)
CMYKcmyk(0%, 47.1%, 17.9%, 5.9%)
CIE-LABlab(67.83, 51.77, -16.92)
CIE-LCHlch(67.83, 54.47, 341.91°)
OKLaboklab(74.34% 0.1537 -0.0448)
OKLCHoklch(74.34% 0.16 343.7)
XYZxyz(53.6035, 37.7392, 57.2736)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FC5 #7FF0AA
analogous
#E37FF0 #F07FC5 #F07F8D
triadic
#F07FC5 #C5F07F #7FC5F0
tetradic
#F07FC5 #F0E37F #7FF0AA #7F8DF0
square
#F07FC5 #F0E37F #7FF0AA #7F8DF0
split-complementary
#F07FC5 #8DF07F #7FF0E3
monochromatic
#DB1A91 #EA48AC #F07FC5 #F6B6DE #FCE4F3

Accessibility & contrast

On white

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

On black

8.55
#F07FC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FC5
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FC5#FFFFFF#000000##000000
##F07FC51.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f07fc5;
/* rgb */ color: rgb(240, 127, 197);
/* oklch */ color: oklch(74.3% 0.160 343.7);
Tailwind
colors: {
  custom: {
    50: '#f7a7d6',
    500: '#f07fc5',
    950: '#000000',
  },
}
SCSS
$custom: #f07fc5;
$custom-light: #f7a7d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fc5",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 322.832,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74339,
    "c": 0.16008,
    "h": 343.7
  },
  "luminance": 0.37735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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