#FFB4EC#FFB4EC

#FFB4EC is a very light, moderate pink. Relative luminance 0.600; OKLCH L 85.7% C 0.112 H 336.1°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#FFB4EC
RGBrgb(255, 180, 236)
HSLhsl(315, 100%, 85%)
HSVhsv(315, 29%, 100%)
CMYKcmyk(0%, 29.4%, 7.5%, 0%)
CIE-LABlab(81.82, 35.64, -17.00)
CIE-LCHlch(81.82, 39.49, 334.50°)
OKLaboklab(85.72% 0.1023 -0.0454)
OKLCHoklch(85.72% 0.112 336.1)
XYZxyz(72.7009, 59.9617, 87.0849)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB4EC #B4FFC7
analogous
#ECB4FF #FFB4EC #FFB4C6
triadic
#FFB4EC #ECFFB4 #B4ECFF
tetradic
#FFB4EC #FFECB4 #B4FFC7 #B4C6FF
square
#FFB4EC #FFECB4 #B4FFC7 #B4C6FF
split-complementary
#FFB4EC #C6FFB4 #B4FFEC
monochromatic
#FF3ACD #FF77DC #FFB4EC #FFE0F7 #FFE0F7

Accessibility & contrast

On white

1.62
#FFB4EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#FFB4EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB4EC
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB4EC#FFFFFF#000000##000000
##FFB4EC1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5C5EE
Deuteranopia (green-blind)
#C7CFEA
Tritanopia (blue-blind)
#FFB6C8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ffb4ec;
/* rgb */ color: rgb(255, 180, 236);
/* oklch */ color: oklch(85.7% 0.112 336.1);
Tailwind
colors: {
  custom: {
    50: '#ffcbf2',
    500: '#ffb4ec',
    950: '#000000',
  },
}
SCSS
$custom: #ffb4ec;
$custom-light: #ffcbf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb4ec",
  "rgb": {
    "r": 255,
    "g": 180,
    "b": 236
  },
  "hsl": {
    "h": 315.2,
    "s": 100,
    "l": 85.294
  },
  "oklch": {
    "l": 0.85723,
    "c": 0.11189,
    "h": 336.1
  },
  "luminance": 0.59959
}

Semantic roles & 50–950 ramp

primary
#FFB4EC
secondary
#71E68F
accent
#E63A00
background
#FFFEFF
surface
#FFFAFE
border
#D7D3D6
text
#181316
muted
#868385

Preview Lab

Preview with #FFB4EC

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

Preview Lab → · Contrast checker → · Palette generator →

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