#FFA5EC#FFA5EC

#FFA5EC is a very light, vivid pink. Relative luminance 0.542; OKLCH L 83.3% C 0.138 H 334.8°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#FFA5EC
RGBrgb(255, 165, 236)
HSLhsl(313, 100%, 82%)
HSVhsv(313, 35%, 100%)
CMYKcmyk(0%, 35.3%, 7.5%, 0%)
CIE-LABlab(78.60, 43.44, -21.87)
CIE-LCHlch(78.60, 48.63, 333.28°)
OKLaboklab(83.27% 0.1245 -0.0587)
OKLCHoklch(83.27% 0.138 334.8)
XYZxyz(69.8350, 54.2298, 86.1295)
Luminance0.5423 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA5EC #A5FFB8
analogous
#E5A5FF #FFA5EC #FFA5BF
triadic
#FFA5EC #ECFFA5 #A5ECFF
tetradic
#FFA5EC #FFE5A5 #A5FFB8 #A5BFFF
square
#FFA5EC #FFE5A5 #A5FFB8 #A5BFFF
split-complementary
#FFA5EC #BFFFA5 #A5FFE5
monochromatic
#FF2BD2 #FF68DF #FFA5EC #FFE0F9 #FFE0F9

Accessibility & contrast

On white

1.77
#FFA5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#FFA5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA5EC
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA5EC#FFFFFF#000000##000000
##FFA5EC1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BAEF
Deuteranopia (green-blind)
#BCC7E9
Tritanopia (blue-blind)
#FFA9BF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ffa5ec;
/* rgb */ color: rgb(255, 165, 236);
/* oklch */ color: oklch(83.3% 0.138 334.8);
Tailwind
colors: {
  custom: {
    50: '#ffc1f2',
    500: '#ffa5ec',
    950: '#000000',
  },
}
SCSS
$custom: #ffa5ec;
$custom-light: #ffc1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa5ec",
  "rgb": {
    "r": 255,
    "g": 165,
    "b": 236
  },
  "hsl": {
    "h": 312.667,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.83273,
    "c": 0.13769,
    "h": 334.8
  },
  "luminance": 0.54226
}

Semantic roles & 50–950 ramp

primary
#FFA5EC
secondary
#64E47F
accent
#E63000
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181217
muted
#868285

Preview Lab

Preview with #FFA5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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