#E7AFCD#E7AFCD

#E7AFCD is a light, moderate pink. Relative luminance 0.521; OKLCH L 81.4% C 0.076 H 345.5°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#E7AFCD
RGBrgb(231, 175, 205)
HSLhsl(328, 54%, 80%)
HSVhsv(328, 24%, 91%)
CMYKcmyk(0%, 24.2%, 11.3%, 9.4%)
CIE-LABlab(77.32, 25.03, -7.23)
CIE-LCHlch(77.32, 26.05, 343.89°)
OKLaboklab(81.41% 0.0733 -0.0189)
OKLCHoklch(81.41% 0.076 345.5)
XYZxyz(59.3041, 52.0589, 64.6703)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7AFCD #AFE7C9
analogous
#E5AFE7 #E7AFCD #E7AFB1
triadic
#E7AFCD #CDE7AF #AFCDE7
tetradic
#E7AFCD #E7E5AF #AFE7C9 #AFB1E7
square
#E7AFCD #E7E5AF #AFE7C9 #AFB1E7
split-complementary
#E7AFCD #B1E7AF #AFE7E5
monochromatic
#CB5192 #D980B0 #E7AFCD #F5DEEA #F8E7F0

Accessibility & contrast

On white

1.84
#E7AFCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#E7AFCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7AFCD
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7AFCD#FFFFFF#000000##000000
##E7AFCD1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2BACE
Deuteranopia (green-blind)
#BFC2CB
Tritanopia (blue-blind)
#EFAFB9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e7afcd;
/* rgb */ color: rgb(231, 175, 205);
/* oklch */ color: oklch(81.4% 0.076 345.5);
Tailwind
colors: {
  custom: {
    50: '#efc7dc',
    500: '#e7afcd',
    950: '#000000',
  },
}
SCSS
$custom: #e7afcd;
$custom-light: #efc7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#e7afcd",
  "rgb": {
    "r": 231,
    "g": 175,
    "b": 205
  },
  "hsl": {
    "h": 327.857,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81411,
    "c": 0.07568,
    "h": 345.5
  },
  "luminance": 0.52057
}

Semantic roles & 50–950 ramp

primary
#E7AFCD
secondary
#78C29A
accent
#C16D24
background
#FFFDFE
surface
#FEF9FC
border
#D6D2D5
text
#161315
muted
#858284

Preview Lab

Preview with #E7AFCD

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

Preview Lab → · Contrast checker → · Palette generator →

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