#FF9FEC#FF9FEC

#FF9FEC is a very light, vivid pink. Relative luminance 0.521; OKLCH L 82.3% C 0.148 H 334.4°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#FF9FEC
RGBrgb(255, 159, 236)
HSLhsl(312, 100%, 81%)
HSVhsv(312, 38%, 100%)
CMYKcmyk(0%, 37.6%, 7.5%, 0%)
CIE-LABlab(77.35, 46.52, -23.77)
CIE-LCHlch(77.35, 52.24, 332.94°)
OKLaboklab(82.33% 0.1334 -0.0639)
OKLCHoklch(82.33% 0.148 334.4)
XYZxyz(68.7780, 52.1159, 85.7772)
Luminance0.5211 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9FEC #9FFFB2
analogous
#E29FFF #FF9FEC #FF9FBC
triadic
#FF9FEC #ECFF9F #9FECFF
tetradic
#FF9FEC #FFE29F #9FFFB2 #9FBCFF
square
#FF9FEC #FFE29F #9FFFB2 #9FBCFF
split-complementary
#FF9FEC #BCFF9F #9FFFE2
monochromatic
#FF25D4 #FF62E0 #FF9FEC #FFDCF8 #FFE0F9

Accessibility & contrast

On white

1.84
#FF9FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#FF9FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9FEC
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9FEC#FFFFFF#000000##000000
##FF9FEC1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB6EF
Deuteranopia (green-blind)
#B7C4E9
Tritanopia (blue-blind)
#FFA3BB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ff9fec;
/* rgb */ color: rgb(255, 159, 236);
/* oklch */ color: oklch(82.3% 0.148 334.4);
Tailwind
colors: {
  custom: {
    50: '#ffbdf2',
    500: '#ff9fec',
    950: '#000000',
  },
}
SCSS
$custom: #ff9fec;
$custom-light: #ffbdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9fec",
  "rgb": {
    "r": 255,
    "g": 159,
    "b": 236
  },
  "hsl": {
    "h": 311.875,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.82331,
    "c": 0.1479,
    "h": 334.4
  },
  "luminance": 0.52112
}

Semantic roles & 50–950 ramp

primary
#FF9FEC
secondary
#5FE379
accent
#E62D00
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#181217
muted
#868285

Preview Lab

Preview with #FF9FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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