#FE7FA2#FE7FA2

#FE7FA2 is a light, vivid pink. Relative luminance 0.389; OKLCH L 75.0% C 0.158 H 4.2°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#FE7FA2
RGBrgb(254, 127, 162)
HSLhsl(343, 98%, 75%)
HSVhsv(343, 50%, 100%)
CMYKcmyk(0%, 50%, 36.2%, 0.4%)
CIE-LABlab(68.65, 51.74, 4.18)
CIE-LCHlch(68.65, 51.91, 4.62°)
OKLaboklab(75% 0.1573 0.0115)
OKLCHoklch(75% 0.158 4.2)
XYZxyz(54.9868, 38.8635, 38.7809)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7FA2 #7FFEDB
analogous
#FE7FE1 #FE7FA2 #FE9C7F
triadic
#FE7FA2 #A2FE7F #7FA2FE
tetradic
#FE7FA2 #E1FE7F #7FFEDB #9C7FFE
square
#FE7FA2 #E1FE7F #7FFEDB #9C7FFE
split-complementary
#FE7FA2 #7FFE9C #7FE1FE
monochromatic
#FD064A #FE4276 #FE7FA2 #FEBCCE #FFE1E9

Accessibility & contrast

On white

2.39
#FE7FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#FE7FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7FA2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7FA2#FFFFFF#000000##000000
##FE7FA21.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9598A3
Deuteranopia (green-blind)
#B5B19F
Tritanopia (blue-blind)
#FF748C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fe7fa2;
/* rgb */ color: rgb(254, 127, 162);
/* oklch */ color: oklch(75.0% 0.158 4.2);
Tailwind
colors: {
  custom: {
    50: '#ffa7bd',
    500: '#fe7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #fe7fa2;
$custom-light: #ffa7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7fa2",
  "rgb": {
    "r": 254,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 343.465,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75,
    "c": 0.15769,
    "h": 4.2
  },
  "luminance": 0.38858
}

Semantic roles & 50–950 ramp

primary
#FE7FA2
secondary
#D4F7ED
accent
#E6A600
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#191012
muted
#877F81

Preview Lab

Preview with #FE7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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