#EC7EB4#EC7EB4

#EC7EB4 is a light, vivid pink. Relative luminance 0.360; OKLCH L 73.1% C 0.148 H 350.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#EC7EB4
RGBrgb(236, 126, 180)
HSLhsl(331, 74%, 71%)
HSVhsv(331, 47%, 93%)
CMYKcmyk(0%, 46.6%, 23.7%, 7.5%)
CIE-LABlab(66.56, 48.55, -9.32)
CIE-LCHlch(66.56, 49.43, 349.13°)
OKLaboklab(73.1% 0.1459 -0.0241)
OKLCHoklch(73.1% 0.148 350.6)
XYZxyz(50.2925, 36.0538, 47.4814)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EB4 #7EECB6
analogous
#EC7EEB #EC7EB4 #EC7F7E
triadic
#EC7EB4 #B4EC7E #7EB4EC
tetradic
#EC7EB4 #EBEC7E #7EECB6 #7F7EEC
square
#EC7EB4 #EBEC7E #7EECB6 #7F7EEC
split-complementary
#EC7EB4 #7EEC7F #7EEBEC
monochromatic
#D11F76 #E44995 #EC7EB4 #F4B3D3 #FBE4EF

Accessibility & contrast

On white

2.56
#EC7EB4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#EC7EB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EB4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EB4#FFFFFF#000000##000000
##EC7EB41.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A96B6
Deuteranopia (green-blind)
#A6A9B1
Tritanopia (blue-blind)
#FA7A92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7eb4;
/* rgb */ color: rgb(236, 126, 180);
/* oklch */ color: oklch(73.1% 0.148 350.6);
Tailwind
colors: {
  custom: {
    50: '#f4a6ca',
    500: '#ec7eb4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7eb4;
$custom-light: #f4a6ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7eb4",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 330.545,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73098,
    "c": 0.1479,
    "h": 350.6
  },
  "luminance": 0.3605
}

Semantic roles & 50–950 ramp

primary
#EC7EB4
secondary
#D4F2E3
accent
#D6750F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EC7EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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