#FFB2EC#FFB2EC

#FFB2EC is a very light, moderate pink. Relative luminance 0.592; OKLCH L 85.4% C 0.115 H 335.9°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#FFB2EC
RGBrgb(255, 178, 236)
HSLhsl(315, 100%, 85%)
HSVhsv(315, 30%, 100%)
CMYKcmyk(0%, 30.2%, 7.5%, 0%)
CIE-LABlab(81.38, 36.69, -17.66)
CIE-LCHlch(81.38, 40.71, 334.30°)
OKLaboklab(85.39% 0.1053 -0.0472)
OKLCHoklch(85.39% 0.115 335.9)
XYZxyz(72.3001, 59.1600, 86.9512)
Luminance0.5916 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB2EC #B2FFC5
analogous
#EBB2FF #FFB2EC #FFB2C6
triadic
#FFB2EC #ECFFB2 #B2ECFF
tetradic
#FFB2EC #FFEBB2 #B2FFC5 #B2C6FF
square
#FFB2EC #FFEBB2 #B2FFC5 #B2C6FF
split-complementary
#FFB2EC #C6FFB2 #B2FFEB
monochromatic
#FF38CE #FF75DD #FFB2EC #FFE0F7 #FFE0F7

Accessibility & contrast

On white

1.64
#FFB2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#FFB2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB2EC
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB2EC#FFFFFF#000000##000000
##FFB2EC1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3C3EE
Deuteranopia (green-blind)
#C5CEEA
Tritanopia (blue-blind)
#FFB5C6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ffb2ec;
/* rgb */ color: rgb(255, 178, 236);
/* oklch */ color: oklch(85.4% 0.115 335.9);
Tailwind
colors: {
  custom: {
    50: '#ffcaf2',
    500: '#ffb2ec',
    950: '#000000',
  },
}
SCSS
$custom: #ffb2ec;
$custom-light: #ffcaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb2ec",
  "rgb": {
    "r": 255,
    "g": 178,
    "b": 236
  },
  "hsl": {
    "h": 314.805,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.85389,
    "c": 0.11534,
    "h": 335.9
  },
  "luminance": 0.59157
}

Semantic roles & 50–950 ramp

primary
#FFB2EC
secondary
#70E68D
accent
#E63900
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181316
muted
#868285

Preview Lab

Preview with #FFB2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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