#E781AC#E781AC

#E781AC is a light, vivid pink. Relative luminance 0.357; OKLCH L 72.7% C 0.134 H 354.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#E781AC
RGBrgb(231, 129, 172)
HSLhsl(335, 68%, 71%)
HSVhsv(335, 44%, 91%)
CMYKcmyk(0%, 44.2%, 25.5%, 9.4%)
CIE-LABlab(66.27, 44.27, -5.31)
CIE-LCHlch(66.27, 44.58, 353.16°)
OKLaboklab(72.66% 0.1334 -0.0134)
OKLCHoklch(72.66% 0.134 354.2)
XYZxyz(48.2531, 35.6717, 43.3656)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781AC #81E7BC
analogous
#E781DF #E781AC #E78981
triadic
#E781AC #ACE781 #81ACE7
tetradic
#E781AC #DFE781 #81E7BC #8981E7
square
#E781AC #DFE781 #81E7BC #8981E7
split-complementary
#E781AC #81E789 #81DFE7
monochromatic
#C8266A #DD4E8A #E781AC #F1B4CE #FAE5EE

Accessibility & contrast

On white

2.58
#E781AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#E781AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781AC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781AC#FFFFFF#000000##000000
##E781AC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D96AD
Deuteranopia (green-blind)
#A7A8AA
Tritanopia (blue-blind)
#F57C90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e781ac;
/* rgb */ color: rgb(231, 129, 172);
/* oklch */ color: oklch(72.7% 0.134 354.2);
Tailwind
colors: {
  custom: {
    50: '#f1a8c4',
    500: '#e781ac',
    950: '#000000',
  },
}
SCSS
$custom: #e781ac;
$custom-light: #f1a8c4;
$custom-dark: #000000;
JSON
{
  "hex": "#e781ac",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 172
  },
  "hsl": {
    "h": 334.706,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72662,
    "c": 0.1341,
    "h": 354.2
  },
  "luminance": 0.35668
}

Semantic roles & 50–950 ramp

primary
#E781AC
secondary
#D4F0E4
accent
#D08116
background
#FFFAFC
surface
#FEF4F8
border
#D6CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #E781AC

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

Preview Lab → · Contrast checker → · Palette generator →

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