#FFA7EC#FFA7EC

#FFA7EC is a very light, vivid pink. Relative luminance 0.550; OKLCH L 83.6% C 0.134 H 334.9°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#FFA7EC
RGBrgb(255, 167, 236)
HSLhsl(313, 100%, 83%)
HSVhsv(313, 35%, 100%)
CMYKcmyk(0%, 34.5%, 7.5%, 0%)
CIE-LABlab(79.02, 42.41, -21.23)
CIE-LCHlch(79.02, 47.42, 333.40°)
OKLaboklab(83.59% 0.1216 -0.057)
OKLCHoklch(83.59% 0.134 334.9)
XYZxyz(70.1985, 54.9569, 86.2507)
Luminance0.5495 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA7EC #A7FFBA
analogous
#E6A7FF #FFA7EC #FFA7C0
triadic
#FFA7EC #ECFFA7 #A7ECFF
tetradic
#FFA7EC #FFE6A7 #A7FFBA #A7C0FF
square
#FFA7EC #FFE6A7 #A7FFBA #A7C0FF
split-complementary
#FFA7EC #C0FFA7 #A7FFE6
monochromatic
#FF2DD2 #FF6ADF #FFA7EC #FFE0F8 #FFE0F8

Accessibility & contrast

On white

1.75
#FFA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#FFA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA7EC
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA7EC#FFFFFF#000000##000000
##FFA7EC1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BCEF
Deuteranopia (green-blind)
#BDC8E9
Tritanopia (blue-blind)
#FFABC0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ffa7ec;
/* rgb */ color: rgb(255, 167, 236);
/* oklch */ color: oklch(83.6% 0.134 334.9);
Tailwind
colors: {
  custom: {
    50: '#ffc2f2',
    500: '#ffa7ec',
    950: '#000000',
  },
}
SCSS
$custom: #ffa7ec;
$custom-light: #ffc2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa7ec",
  "rgb": {
    "r": 255,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 312.955,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.83592,
    "c": 0.13427,
    "h": 334.9
  },
  "luminance": 0.54954
}

Semantic roles & 50–950 ramp

primary
#FFA7EC
secondary
#66E481
accent
#E63200
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181217
muted
#868285

Preview Lab

Preview with #FFA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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