#E7AFCA#E7AFCA

#E7AFCA is a light, moderate pink. Relative luminance 0.519; OKLCH L 81.3% C 0.074 H 348.4°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#E7AFCA
RGBrgb(231, 175, 202)
HSLhsl(331, 54%, 80%)
HSVhsv(331, 24%, 91%)
CMYKcmyk(0%, 24.2%, 12.6%, 9.4%)
CIE-LABlab(77.23, 24.54, -5.72)
CIE-LCHlch(77.23, 25.19, 346.87°)
OKLaboklab(81.32% 0.0722 -0.0149)
OKLCHoklch(81.32% 0.074 348.4)
XYZxyz(58.9454, 51.9154, 62.7814)
Luminance0.5191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7AFCA #AFE7CC
analogous
#E7AFE6 #E7AFCA #E7B0AF
triadic
#E7AFCA #CAE7AF #AFCAE7
tetradic
#E7AFCA #E6E7AF #AFE7CC #B0AFE7
square
#E7AFCA #E6E7AF #AFE7CC #B0AFE7
split-complementary
#E7AFCA #AFE7B0 #AFE6E7
monochromatic
#CB518C #D980AB #E7AFCA #F5DEE9 #F8E7EF

Accessibility & contrast

On white

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

On black

11.38
#E7AFCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7AFCA
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7AFCA#FFFFFF#000000##000000
##E7AFCA1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3B9CB
Deuteranopia (green-blind)
#C0C2C9
Tritanopia (blue-blind)
#EFAEB8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e7afca;
/* rgb */ color: rgb(231, 175, 202);
/* oklch */ color: oklch(81.3% 0.074 348.4);
Tailwind
colors: {
  custom: {
    50: '#efc7da',
    500: '#e7afca',
    950: '#000000',
  },
}
SCSS
$custom: #e7afca;
$custom-light: #efc7da;
$custom-dark: #000000;
JSON
{
  "hex": "#e7afca",
  "rgb": {
    "r": 231,
    "g": 175,
    "b": 202
  },
  "hsl": {
    "h": 331.071,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81317,
    "c": 0.07375,
    "h": 348.4
  },
  "luminance": 0.51913
}

Semantic roles & 50–950 ramp

primary
#E7AFCA
secondary
#78C29E
accent
#C17624
background
#FFFDFE
surface
#FEF9FB
border
#D6D2D4
text
#161314
muted
#858283

Preview Lab

Preview with #E7AFCA

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

Preview Lab → · Contrast checker → · Palette generator →

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