#EC7ABA#EC7ABA

#EC7ABA is a light, vivid pink. Relative luminance 0.353; OKLCH L 72.7% C 0.158 H 346.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#EC7ABA
RGBrgb(236, 122, 186)
HSLhsl(326, 75%, 70%)
HSVhsv(326, 48%, 93%)
CMYKcmyk(0%, 48.3%, 21.2%, 7.5%)
CIE-LABlab(65.98, 51.37, -13.57)
CIE-LCHlch(65.98, 53.13, 345.20°)
OKLaboklab(72.73% 0.1537 -0.0357)
OKLCHoklch(72.73% 0.158 346.9)
XYZxyz(50.4157, 35.3011, 50.6033)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7ABA #7AECAC
analogous
#E57AEC #EC7ABA #EC7A81
triadic
#EC7ABA #BAEC7A #7ABAEC
tetradic
#EC7ABA #ECE57A #7AECAC #7A81EC
square
#EC7ABA #ECE57A #7AECAC #7A81EC
split-complementary
#EC7ABA #81EC7A #7AECE5
monochromatic
#CE1D81 #E4449E #EC7ABA #F4B0D6 #FBE4F1

Accessibility & contrast

On white

2.61
#EC7ABA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#EC7ABA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7ABA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7ABA#FFFFFF#000000##000000
##EC7ABA1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8494BC
Deuteranopia (green-blind)
#A2A8B7
Tritanopia (blue-blind)
#F97892
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec7aba;
/* rgb */ color: rgb(236, 122, 186);
/* oklch */ color: oklch(72.7% 0.158 346.9);
Tailwind
colors: {
  custom: {
    50: '#f5a4ce',
    500: '#ec7aba',
    950: '#000000',
  },
}
SCSS
$custom: #ec7aba;
$custom-light: #f5a4ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7aba",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 326.316,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72726,
    "c": 0.15774,
    "h": 346.9
  },
  "luminance": 0.35297
}

Semantic roles & 50–950 ramp

primary
#EC7ABA
secondary
#D1F1DF
accent
#D7660E
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC7ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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