#FF7FE2#FF7FE2

#FF7FE2 is a light, vivid pink. Relative luminance 0.419; OKLCH L 77.3% C 0.192 H 336.6°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#FF7FE2
RGBrgb(255, 127, 226)
HSLhsl(314, 100%, 75%)
HSVhsv(314, 50%, 100%)
CMYKcmyk(0%, 50.2%, 11.4%, 0%)
CIE-LABlab(70.83, 60.68, -28.28)
CIE-LCHlch(70.83, 66.95, 335.01°)
OKLaboklab(77.32% 0.1767 -0.0763)
OKLCHoklch(77.32% 0.192 336.6)
XYZxyz(62.5572, 41.9341, 76.7360)
Luminance0.4193 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7FE2 #7FFF9C
analogous
#DC7FFF #FF7FE2 #FF7FA2
triadic
#FF7FE2 #E2FF7F #7FE2FF
tetradic
#FF7FE2 #FFDC7F #7FFF9C #7FA2FF
square
#FF7FE2 #FFDC7F #7FFF9C #7FA2FF
split-complementary
#FF7FE2 #A2FF7F #7FFFDC
monochromatic
#FF05C6 #FF42D4 #FF7FE2 #FFBCF0 #FFE0F8

Accessibility & contrast

On white

2.24
#FF7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#FF7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7FE2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7FE2#FFFFFF#000000##000000
##FF7FE21.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A1E5
Deuteranopia (green-blind)
#A5B4DE
Tritanopia (blue-blind)
#FF84A6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ff7fe2;
/* rgb */ color: rgb(255, 127, 226);
/* oklch */ color: oklch(77.3% 0.192 336.6);
Tailwind
colors: {
  custom: {
    50: '#ffa8eb',
    500: '#ff7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ff7fe2;
$custom-light: #ffa8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7fe2",
  "rgb": {
    "r": 255,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 313.594,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77324,
    "c": 0.19244,
    "h": 336.6
  },
  "luminance": 0.4193
}

Semantic roles & 50–950 ramp

primary
#FF7FE2
secondary
#D4F7DC
accent
#E63400
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FF7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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