#FFB7EC#FFB7EC

#FFB7EC is a very light, moderate pink. Relative luminance 0.612; OKLCH L 86.2% C 0.107 H 336.4°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#FFB7EC
RGBrgb(255, 183, 236)
HSLhsl(316, 100%, 86%)
HSVhsv(316, 28%, 100%)
CMYKcmyk(0%, 28.2%, 7.5%, 0%)
CIE-LABlab(82.48, 34.07, -16.00)
CIE-LCHlch(82.48, 37.64, 334.84°)
OKLaboklab(86.23% 0.0978 -0.0426)
OKLCHoklch(86.23% 0.107 336.4)
XYZxyz(73.3131, 61.1860, 87.2889)
Luminance0.6118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB7EC #B7FFCA
analogous
#EEB7FF #FFB7EC #FFB7C8
triadic
#FFB7EC #ECFFB7 #B7ECFF
tetradic
#FFB7EC #FFEEB7 #B7FFCA #B7C8FF
square
#FFB7EC #FFEEB7 #B7FFCA #B7C8FF
split-complementary
#FFB7EC #C8FFB7 #B7FFEE
monochromatic
#FF3DCC #FF7ADC #FFB7EC #FFE0F7 #FFE0F7

Accessibility & contrast

On white

1.59
#FFB7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#FFB7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB7EC
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB7EC#FFFFFF#000000##000000
##FFB7EC1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8C7EE
Deuteranopia (green-blind)
#C9D1EA
Tritanopia (blue-blind)
#FFB9C9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ffb7ec;
/* rgb */ color: rgb(255, 183, 236);
/* oklch */ color: oklch(86.2% 0.107 336.4);
Tailwind
colors: {
  custom: {
    50: '#ffcdf2',
    500: '#ffb7ec',
    950: '#000000',
  },
}
SCSS
$custom: #ffb7ec;
$custom-light: #ffcdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb7ec",
  "rgb": {
    "r": 255,
    "g": 183,
    "b": 236
  },
  "hsl": {
    "h": 315.833,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.86228,
    "c": 0.1067,
    "h": 336.4
  },
  "luminance": 0.61183
}

Semantic roles & 50–950 ramp

primary
#FFB7EC
secondary
#74E692
accent
#E63D00
background
#FFFEFF
surface
#FFFBFE
border
#D7D4D6
text
#181316
muted
#868385

Preview Lab

Preview with #FFB7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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