#EC7ABB#EC7ABB

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

Color values

HEX#EC7ABB
RGBrgb(236, 122, 187)
HSLhsl(326, 75%, 70%)
HSVhsv(326, 48%, 93%)
CMYKcmyk(0%, 48.3%, 20.8%, 7.5%)
CIE-LABlab(66.02, 51.51, -14.08)
CIE-LCHlch(66.02, 53.40, 344.71°)
OKLaboklab(72.76% 0.154 -0.0371)
OKLCHoklch(72.76% 0.158 346.5)
XYZxyz(50.5224, 35.3437, 51.1652)
Luminance0.3534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7ABB #7AECAB
analogous
#E47AEC #EC7ABB #EC7A82
triadic
#EC7ABB #BBEC7A #7ABBEC
tetradic
#EC7ABB #ECE47A #7AECAB #7A82EC
square
#EC7ABB #ECE47A #7AECAB #7A82EC
split-complementary
#EC7ABB #82EC7A #7AECE4
monochromatic
#CE1D82 #E444A0 #EC7ABB #F4B0D6 #FBE4F1

Accessibility & contrast

On white

2.60
#EC7ABB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#EC7ABB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7ABB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7ABB#FFFFFF#000000##000000
##EC7ABB1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BD
Deuteranopia (green-blind)
#A2A8B8
Tritanopia (blue-blind)
#F97892
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec7abb;
/* rgb */ color: rgb(236, 122, 187);
/* oklch */ color: oklch(72.8% 0.158 346.5);
Tailwind
colors: {
  custom: {
    50: '#f4a4cf',
    500: '#ec7abb',
    950: '#000000',
  },
}
SCSS
$custom: #ec7abb;
$custom-light: #f4a4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7abb",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 325.789,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72762,
    "c": 0.15835,
    "h": 346.5
  },
  "luminance": 0.3534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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