#EC7ABE#EC7ABE

#EC7ABE is a light, vivid pink. Relative luminance 0.355; OKLCH L 72.9% C 0.160 H 345.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#EC7ABE
RGBrgb(236, 122, 190)
HSLhsl(324, 75%, 70%)
HSVhsv(324, 48%, 93%)
CMYKcmyk(0%, 48.3%, 19.5%, 7.5%)
CIE-LABlab(66.12, 51.95, -15.62)
CIE-LCHlch(66.12, 54.25, 343.26°)
OKLaboklab(72.87% 0.1548 -0.0413)
OKLCHoklch(72.87% 0.16 345.1)
XYZxyz(50.8469, 35.4735, 52.8743)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7ABE #7AECA8
analogous
#E17AEC #EC7ABE #EC7A85
triadic
#EC7ABE #BEEC7A #7ABEEC
tetradic
#EC7ABE #ECE17A #7AECA8 #7A85EC
square
#EC7ABE #ECE17A #7AECA8 #7A85EC
split-complementary
#EC7ABE #85EC7A #7AECE1
monochromatic
#CE1D87 #E444A4 #EC7ABE #F4B0D8 #FBE4F2

Accessibility & contrast

On white

2.59
#EC7ABE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#EC7ABE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7ABE
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7ABE#FFFFFF#000000##000000
##EC7ABE1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8395C0
Deuteranopia (green-blind)
#A1A8BB
Tritanopia (blue-blind)
#F97994
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7abe;
/* rgb */ color: rgb(236, 122, 190);
/* oklch */ color: oklch(72.9% 0.160 345.1);
Tailwind
colors: {
  custom: {
    50: '#f4a4d1',
    500: '#ec7abe',
    950: '#000000',
  },
}
SCSS
$custom: #ec7abe;
$custom-light: #f4a4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7abe",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 324.211,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7287,
    "c": 0.16021,
    "h": 345.1
  },
  "luminance": 0.3547
}

Semantic roles & 50–950 ramp

primary
#EC7ABE
secondary
#D1F1DE
accent
#D75F0E
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#170F14
muted
#857F82

Preview Lab

Preview with #EC7ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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