#FFB1EC#FFB1EC

#FFB1EC is a very light, moderate pink. Relative luminance 0.588; OKLCH L 85.2% C 0.117 H 335.8°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#FFB1EC
RGBrgb(255, 177, 236)
HSLhsl(315, 100%, 85%)
HSVhsv(315, 31%, 100%)
CMYKcmyk(0%, 30.6%, 7.5%, 0%)
CIE-LABlab(81.16, 37.21, -17.99)
CIE-LCHlch(81.16, 41.33, 334.20°)
OKLaboklab(85.22% 0.1067 -0.0481)
OKLCHoklch(85.22% 0.117 335.8)
XYZxyz(72.1018, 58.7635, 86.8852)
Luminance0.5876 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB1EC #B1FFC4
analogous
#EBB1FF #FFB1EC #FFB1C5
triadic
#FFB1EC #ECFFB1 #B1ECFF
tetradic
#FFB1EC #FFEBB1 #B1FFC4 #B1C5FF
square
#FFB1EC #FFEBB1 #B1FFC4 #B1C5FF
split-complementary
#FFB1EC #C5FFB1 #B1FFEB
monochromatic
#FF37CE #FF74DD #FFB1EC #FFE0F8 #FFE0F8

Accessibility & contrast

On white

1.65
#FFB1EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#FFB1EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB1EC
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB1EC#FFFFFF#000000##000000
##FFB1EC1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2C3EE
Deuteranopia (green-blind)
#C4CEEA
Tritanopia (blue-blind)
#FFB4C6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ffb1ec;
/* rgb */ color: rgb(255, 177, 236);
/* oklch */ color: oklch(85.2% 0.117 335.8);
Tailwind
colors: {
  custom: {
    50: '#ffc9f2',
    500: '#ffb1ec',
    950: '#000000',
  },
}
SCSS
$custom: #ffb1ec;
$custom-light: #ffc9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb1ec",
  "rgb": {
    "r": 255,
    "g": 177,
    "b": 236
  },
  "hsl": {
    "h": 314.615,
    "s": 100,
    "l": 84.706
  },
  "oklch": {
    "l": 0.85222,
    "c": 0.11706,
    "h": 335.8
  },
  "luminance": 0.5876
}

Semantic roles & 50–950 ramp

primary
#FFB1EC
secondary
#6FE68C
accent
#E63800
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181316
muted
#868285

Preview Lab

Preview with #FFB1EC

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

Preview Lab → · Contrast checker → · Palette generator →

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