#FC7FE4#FC7FE4

#FC7FE4 is a light, vivid pink. Relative luminance 0.415; OKLCH L 77.0% C 0.192 H 335.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#FC7FE4
RGBrgb(252, 127, 228)
HSLhsl(312, 95%, 74%)
HSVhsv(312, 50%, 99%)
CMYKcmyk(0%, 49.6%, 9.5%, 1.2%)
CIE-LABlab(70.51, 60.13, -29.90)
CIE-LCHlch(70.51, 67.15, 333.56°)
OKLaboklab(77.03% 0.1739 -0.0809)
OKLCHoklch(77.03% 0.192 335)
XYZxyz(61.7380, 41.4798, 78.1384)
Luminance0.4148 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7FE4 #7FFC97
analogous
#D67FFC #FC7FE4 #FC7FA6
triadic
#FC7FE4 #E4FC7F #7FE4FC
tetradic
#FC7FE4 #FCD67F #7FFC97 #7FA6FC
square
#FC7FE4 #FCD67F #7FFC97 #7FA6FC
split-complementary
#FC7FE4 #A6FC7F #7FFCD6
monochromatic
#F907CB #FB43D7 #FC7FE4 #FDBBF1 #FEE1F9

Accessibility & contrast

On white

2.26
#FC7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#FC7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7FE4
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7FE4#FFFFFF#000000##000000
##FC7FE41.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA1E7
Deuteranopia (green-blind)
#A2B3E1
Tritanopia (blue-blind)
#FF85A7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fc7fe4;
/* rgb */ color: rgb(252, 127, 228);
/* oklch */ color: oklch(77.0% 0.192 335.0);
Tailwind
colors: {
  custom: {
    50: '#ffa8ec',
    500: '#fc7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #fc7fe4;
$custom-light: #ffa8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7fe4",
  "rgb": {
    "r": 252,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 311.52,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77034,
    "c": 0.19181,
    "h": 335
  },
  "luminance": 0.41476
}

Semantic roles & 50–950 ramp

primary
#FC7FE4
secondary
#D4F7DB
accent
#E62C00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FC7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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