#FF7FE7#FF7FE7

#FF7FE7 is a light, vivid pink. Relative luminance 0.422; OKLCH L 77.5% C 0.196 H 334.9°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#FF7FE7
RGBrgb(255, 127, 231)
HSLhsl(311, 100%, 75%)
HSVhsv(311, 50%, 100%)
CMYKcmyk(0%, 50.2%, 9.4%, 0%)
CIE-LABlab(71.02, 61.46, -30.74)
CIE-LCHlch(71.02, 68.72, 333.43°)
OKLaboklab(77.53% 0.1777 -0.0832)
OKLCHoklch(77.53% 0.196 334.9)
XYZxyz(63.2533, 42.2125, 80.4021)
Luminance0.4221 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7FE7 #7FFF97
analogous
#D77FFF #FF7FE7 #FF7FA7
triadic
#FF7FE7 #E7FF7F #7FE7FF
tetradic
#FF7FE7 #FFD77F #7FFF97 #7FA7FF
square
#FF7FE7 #FFD77F #7FFF97 #7FA7FF
split-complementary
#FF7FE7 #A7FF7F #7FFFD7
monochromatic
#FF05D0 #FF42DC #FF7FE7 #FFBCF2 #FFE0F9

Accessibility & contrast

On white

2.22
#FF7FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#FF7FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7FE7
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7FE7#FFFFFF#000000##000000
##FF7FE71.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA2EA
Deuteranopia (green-blind)
#A3B5E3
Tritanopia (blue-blind)
#FF86A9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ff7fe7;
/* rgb */ color: rgb(255, 127, 231);
/* oklch */ color: oklch(77.5% 0.196 334.9);
Tailwind
colors: {
  custom: {
    50: '#ffa8ef',
    500: '#ff7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #ff7fe7;
$custom-light: #ffa8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7fe7",
  "rgb": {
    "r": 255,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 311.25,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77529,
    "c": 0.19623,
    "h": 334.9
  },
  "luminance": 0.42208
}

Semantic roles & 50–950 ramp

primary
#FF7FE7
secondary
#D4F7DA
accent
#E62B00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FF7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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