#FF9CEC#FF9CEC

#FF9CEC is a light, vivid pink. Relative luminance 0.511; OKLCH L 81.9% C 0.153 H 334.2°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#FF9CEC
RGBrgb(255, 156, 236)
HSLhsl(312, 100%, 81%)
HSVhsv(312, 39%, 100%)
CMYKcmyk(0%, 38.8%, 7.5%, 0%)
CIE-LABlab(76.74, 48.05, -24.70)
CIE-LCHlch(76.74, 54.03, 332.79°)
OKLaboklab(81.87% 0.1378 -0.0665)
OKLCHoklch(81.87% 0.153 334.2)
XYZxyz(68.2684, 51.0967, 85.6074)
Luminance0.5109 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9CEC #9CFFAF
analogous
#E09CFF #FF9CEC #FF9CBA
triadic
#FF9CEC #ECFF9C #9CECFF
tetradic
#FF9CEC #FFE09C #9CFFAF #9CBAFF
square
#FF9CEC #FFE09C #9CFFAF #9CBAFF
split-complementary
#FF9CEC #BAFF9C #9CFFE0
monochromatic
#FF22D5 #FF5FE0 #FF9CEC #FFD9F8 #FFE0F9

Accessibility & contrast

On white

1.87
#FF9CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#FF9CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9CEC
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9CEC#FFFFFF#000000##000000
##FF9CEC1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB4EF
Deuteranopia (green-blind)
#B5C3E9
Tritanopia (blue-blind)
#FFA1BA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ff9cec;
/* rgb */ color: rgb(255, 156, 236);
/* oklch */ color: oklch(81.9% 0.153 334.2);
Tailwind
colors: {
  custom: {
    50: '#ffbbf2',
    500: '#ff9cec',
    950: '#000000',
  },
}
SCSS
$custom: #ff9cec;
$custom-light: #ffbbf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9cec",
  "rgb": {
    "r": 255,
    "g": 156,
    "b": 236
  },
  "hsl": {
    "h": 311.515,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.81869,
    "c": 0.15297,
    "h": 334.2
  },
  "luminance": 0.51093
}

Semantic roles & 50–950 ramp

primary
#FF9CEC
secondary
#5DE276
accent
#E62C00
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#181217
muted
#868285

Preview Lab

Preview with #FF9CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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