#E2AFCC#E2AFCC

#E2AFCC is a light, moderate pink. Relative luminance 0.512; OKLCH L 80.9% C 0.070 H 343.7°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#E2AFCC
RGBrgb(226, 175, 204)
HSLhsl(326, 47%, 79%)
HSVhsv(326, 23%, 89%)
CMYKcmyk(0%, 22.6%, 9.7%, 11.4%)
CIE-LABlab(76.79, 23.13, -7.51)
CIE-LCHlch(76.79, 24.32, 342.01°)
OKLaboklab(80.89% 0.0673 -0.0197)
OKLCHoklch(80.89% 0.07 343.7)
XYZxyz(57.5926, 51.1903, 63.9620)
Luminance0.5119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFCC #AFE2C5
analogous
#DEAFE2 #E2AFCC #E2AFB2
triadic
#E2AFCC #CCE2AF #AFCCE2
tetradic
#E2AFCC #E2DEAF #AFE2C5 #AFB2E2
square
#E2AFCC #E2DEAF #AFE2C5 #AFB2E2
split-complementary
#E2AFCC #B2E2AF #AFE2DE
monochromatic
#C15593 #D282AF #E2AFCC #F2DCE9 #F7E9F1

Accessibility & contrast

On white

1.87
#E2AFCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#E2AFCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFCC
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFCC#FFFFFF#000000##000000
##E2AFCC1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2B9CD
Deuteranopia (green-blind)
#BDC0CB
Tritanopia (blue-blind)
#E9AFB9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e2afcc;
/* rgb */ color: rgb(226, 175, 204);
/* oklch */ color: oklch(80.9% 0.070 343.7);
Tailwind
colors: {
  custom: {
    50: '#ebc7db',
    500: '#e2afcc',
    950: '#000000',
  },
}
SCSS
$custom: #e2afcc;
$custom-light: #ebc7db;
$custom-dark: #000000;
JSON
{
  "hex": "#e2afcc",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 204
  },
  "hsl": {
    "h": 325.882,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80887,
    "c": 0.07018,
    "h": 343.7
  },
  "luminance": 0.51188
}

Semantic roles & 50–950 ramp

primary
#E2AFCC
secondary
#7ABB96
accent
#BA692B
background
#FEFDFE
surface
#FDF9FB
border
#D5D2D4
text
#161315
muted
#848284

Preview Lab

Preview with #E2AFCC

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

Preview Lab → · Contrast checker → · Palette generator →

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