#FF8FEC#FF8FEC

#FF8FEC is a light, vivid pink. Relative luminance 0.470; OKLCH L 79.9% C 0.175 H 333.7°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#FF8FEC
RGBrgb(255, 143, 236)
HSLhsl(310, 100%, 78%)
HSVhsv(310, 44%, 100%)
CMYKcmyk(0%, 43.9%, 7.5%, 0%)
CIE-LABlab(74.17, 54.56, -28.64)
CIE-LCHlch(74.17, 61.62, 332.31°)
OKLaboklab(79.94% 0.1565 -0.0774)
OKLCHoklch(79.94% 0.175 333.7)
XYZxyz(66.2025, 46.9649, 84.9187)
Luminance0.4696 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF8FEC #8FFFA2
analogous
#DA8FFF #FF8FEC #FF8FB4
triadic
#FF8FEC #ECFF8F #8FECFF
tetradic
#FF8FEC #FFDA8F #8FFFA2 #8FB4FF
square
#FF8FEC #FFDA8F #8FFFA2 #8FB4FF
split-complementary
#FF8FEC #B4FF8F #8FFFDA
monochromatic
#FF15D7 #FF52E2 #FF8FEC #FFCCF6 #FFE0FA

Accessibility & contrast

On white

2.02
#FF8FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#FF8FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF8FEC
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF8FEC#FFFFFF#000000##000000
##FF8FEC1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#ACBCE9
Tritanopia (blue-blind)
#FF95B3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ff8fec;
/* rgb */ color: rgb(255, 143, 236);
/* oklch */ color: oklch(79.9% 0.175 333.7);
Tailwind
colors: {
  custom: {
    50: '#ffb2f2',
    500: '#ff8fec',
    950: '#000000',
  },
}
SCSS
$custom: #ff8fec;
$custom-light: #ffb2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff8fec",
  "rgb": {
    "r": 255,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 310.179,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79939,
    "c": 0.1746,
    "h": 333.7
  },
  "luminance": 0.46961
}

Semantic roles & 50–950 ramp

primary
#FF8FEC
secondary
#D4F7DA
accent
#E62700
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FF8FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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