#FFC7EC#FFC7EC

#FFC7EC is a very light, moderate pink. Relative luminance 0.682; OKLCH L 89.0% C 0.079 H 339.2°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#FFC7EC
RGBrgb(255, 199, 236)
HSLhsl(320, 100%, 89%)
HSVhsv(320, 22%, 100%)
CMYKcmyk(0%, 22%, 7.5%, 0%)
CIE-LABlab(86.09, 25.67, -10.60)
CIE-LCHlch(86.09, 27.77, 337.57°)
OKLaboklab(89% 0.074 -0.028)
OKLCHoklch(89% 0.079 339.2)
XYZxyz(76.8028, 68.1654, 88.4522)
Luminance0.6816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFC7EC #C7FFDA
analogous
#F6C7FF #FFC7EC #FFC7D0
triadic
#FFC7EC #ECFFC7 #C7ECFF
tetradic
#FFC7EC #FFF6C7 #C7FFDA #C7D0FF
square
#FFC7EC #FFF6C7 #C7FFDA #C7D0FF
split-complementary
#FFC7EC #D0FFC7 #C7FFF6
monochromatic
#FF4DC2 #FF8AD7 #FFC7EC #FFE0F5 #FFE0F5

Accessibility & contrast

On white

1.44
#FFC7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#FFC7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFC7EC
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFC7EC#FFFFFF#000000##000000
##FFC7EC1.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9D2EE
Deuteranopia (green-blind)
#D5DAEA
Tritanopia (blue-blind)
#FFC8D3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ffc7ec;
/* rgb */ color: rgb(255, 199, 236);
/* oklch */ color: oklch(89.0% 0.079 339.2);
Tailwind
colors: {
  custom: {
    50: '#ffd8f2',
    500: '#ffc7ec',
    950: '#000000',
  },
}
SCSS
$custom: #ffc7ec;
$custom-light: #ffd8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffc7ec",
  "rgb": {
    "r": 255,
    "g": 199,
    "b": 236
  },
  "hsl": {
    "h": 320.357,
    "s": 100,
    "l": 89.02
  },
  "oklch": {
    "l": 0.88999,
    "c": 0.07909,
    "h": 339.2
  },
  "luminance": 0.68163
}

Semantic roles & 50–950 ramp

primary
#FFC7EC
secondary
#81E9A4
accent
#E64E00
background
#FFFEFF
surface
#FFFBFE
border
#D7D4D6
text
#181416
muted
#868385

Preview Lab

Preview with #FFC7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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