#FFA2EC#FFA2EC

#FFA2EC is a very light, vivid pink. Relative luminance 0.532; OKLCH L 82.8% C 0.143 H 334.6°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#FFA2EC
RGBrgb(255, 162, 236)
HSLhsl(312, 100%, 82%)
HSVhsv(312, 36%, 100%)
CMYKcmyk(0%, 36.5%, 7.5%, 0%)
CIE-LABlab(77.97, 44.98, -22.82)
CIE-LCHlch(77.97, 50.44, 333.10°)
OKLaboklab(82.8% 0.129 -0.0613)
OKLCHoklch(82.8% 0.143 334.6)
XYZxyz(69.3002, 53.1603, 85.9513)
Luminance0.5316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA2EC #A2FFB5
analogous
#E4A2FF #FFA2EC #FFA2BE
triadic
#FFA2EC #ECFFA2 #A2ECFF
tetradic
#FFA2EC #FFE4A2 #A2FFB5 #A2BEFF
square
#FFA2EC #FFE4A2 #A2FFB5 #A2BEFF
split-complementary
#FFA2EC #BEFFA2 #A2FFE4
monochromatic
#FF28D3 #FF65DF #FFA2EC #FFDFF9 #FFE0F9

Accessibility & contrast

On white

1.81
#FFA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#FFA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA2EC
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA2EC#FFFFFF#000000##000000
##FFA2EC1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B8EF
Deuteranopia (green-blind)
#B9C6E9
Tritanopia (blue-blind)
#FFA6BD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ffa2ec;
/* rgb */ color: rgb(255, 162, 236);
/* oklch */ color: oklch(82.8% 0.143 334.6);
Tailwind
colors: {
  custom: {
    50: '#ffbff2',
    500: '#ffa2ec',
    950: '#000000',
  },
}
SCSS
$custom: #ffa2ec;
$custom-light: #ffbff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa2ec",
  "rgb": {
    "r": 255,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 312.258,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.82799,
    "c": 0.14281,
    "h": 334.6
  },
  "luminance": 0.53157
}

Semantic roles & 50–950 ramp

primary
#FFA2EC
secondary
#62E37C
accent
#E62F00
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181217
muted
#868285

Preview Lab

Preview with #FFA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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