#EC7EBA#EC7EBA

#EC7EBA is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.3% C 0.151 H 347.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#EC7EBA
RGBrgb(236, 126, 186)
HSLhsl(327, 74%, 71%)
HSVhsv(327, 47%, 93%)
CMYKcmyk(0%, 46.6%, 21.2%, 7.5%)
CIE-LABlab(66.75, 49.39, -12.41)
CIE-LCHlch(66.75, 50.93, 345.89°)
OKLaboklab(73.3% 0.1477 -0.0325)
OKLCHoklch(73.3% 0.151 347.6)
XYZxyz(50.9170, 36.3036, 50.7704)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EBA #7EECB0
analogous
#E77EEC #EC7EBA #EC7E83
triadic
#EC7EBA #BAEC7E #7EBAEC
tetradic
#EC7EBA #ECE77E #7EECB0 #7E83EC
square
#EC7EBA #ECE77E #7EECB0 #7E83EC
split-complementary
#EC7EBA #83EC7E #7EECE7
monochromatic
#D11F80 #E4499D #EC7EBA #F4B3D7 #FBE4F1

Accessibility & contrast

On white

2.54
#EC7EBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#EC7EBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EBA
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EBA#FFFFFF#000000##000000
##EC7EBA1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8897BC
Deuteranopia (green-blind)
#A5A9B7
Tritanopia (blue-blind)
#F97C94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7eba;
/* rgb */ color: rgb(236, 126, 186);
/* oklch */ color: oklch(73.3% 0.151 347.6);
Tailwind
colors: {
  custom: {
    50: '#f4a6ce',
    500: '#ec7eba',
    950: '#000000',
  },
}
SCSS
$custom: #ec7eba;
$custom-light: #f4a6ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7eba",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 186
  },
  "hsl": {
    "h": 327.273,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73303,
    "c": 0.15127,
    "h": 347.6
  },
  "luminance": 0.363
}

Semantic roles & 50–950 ramp

primary
#EC7EBA
secondary
#D4F2E2
accent
#D66A0F
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171013
muted
#857F82

Preview Lab

Preview with #EC7EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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