#FFA6EC#FFA6EC

#FFA6EC is a very light, vivid pink. Relative luminance 0.546; OKLCH L 83.4% C 0.136 H 334.8°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#FFA6EC
RGBrgb(255, 166, 236)
HSLhsl(313, 100%, 83%)
HSVhsv(313, 35%, 100%)
CMYKcmyk(0%, 34.9%, 7.5%, 0%)
CIE-LABlab(78.81, 42.92, -21.55)
CIE-LCHlch(78.81, 48.03, 333.34°)
OKLaboklab(83.43% 0.1231 -0.0578)
OKLCHoklch(83.43% 0.136 334.8)
XYZxyz(70.0160, 54.5919, 86.1899)
Luminance0.5459 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA6EC #A6FFB9
analogous
#E5A6FF #FFA6EC #FFA6BF
triadic
#FFA6EC #ECFFA6 #A6ECFF
tetradic
#FFA6EC #FFE5A6 #A6FFB9 #A6BFFF
square
#FFA6EC #FFE5A6 #A6FFB9 #A6BFFF
split-complementary
#FFA6EC #BFFFA6 #A6FFE5
monochromatic
#FF2CD2 #FF69DF #FFA6EC #FFE0F8 #FFE0F8

Accessibility & contrast

On white

1.76
#FFA6EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#FFA6EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA6EC
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA6EC#FFFFFF#000000##000000
##FFA6EC1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BBEF
Deuteranopia (green-blind)
#BCC8E9
Tritanopia (blue-blind)
#FFAABF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ffa6ec;
/* rgb */ color: rgb(255, 166, 236);
/* oklch */ color: oklch(83.4% 0.136 334.8);
Tailwind
colors: {
  custom: {
    50: '#ffc2f2',
    500: '#ffa6ec',
    950: '#000000',
  },
}
SCSS
$custom: #ffa6ec;
$custom-light: #ffc2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa6ec",
  "rgb": {
    "r": 255,
    "g": 166,
    "b": 236
  },
  "hsl": {
    "h": 312.809,
    "s": 100,
    "l": 82.549
  },
  "oklch": {
    "l": 0.83432,
    "c": 0.13598,
    "h": 334.8
  },
  "luminance": 0.54589
}

Semantic roles & 50–950 ramp

primary
#FFA6EC
secondary
#65E480
accent
#E63100
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181217
muted
#868285

Preview Lab

Preview with #FFA6EC

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

Preview Lab → · Contrast checker → · Palette generator →

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