#EC7EB3#EC7EB3

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

Color values

HEX#EC7EB3
RGBrgb(236, 126, 179)
HSLhsl(331, 74%, 71%)
HSVhsv(331, 47%, 93%)
CMYKcmyk(0%, 46.6%, 24.2%, 7.5%)
CIE-LABlab(66.53, 48.41, -8.80)
CIE-LCHlch(66.53, 49.20, 349.70°)
OKLaboklab(73.06% 0.1456 -0.0227)
OKLCHoklch(73.06% 0.147 351.1)
XYZxyz(50.1910, 36.0132, 46.9469)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EB3 #7EECB7
analogous
#EC7EEA #EC7EB3 #EC807E
triadic
#EC7EB3 #B3EC7E #7EB3EC
tetradic
#EC7EB3 #EAEC7E #7EECB7 #807EEC
square
#EC7EB3 #EAEC7E #7EECB7 #807EEC
split-complementary
#EC7EB3 #7EEC80 #7EEAEC
monochromatic
#D11F75 #E44994 #EC7EB3 #F4B3D2 #FBE4EF

Accessibility & contrast

On white

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

On black

8.20
#EC7EB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EB3
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EB3#FFFFFF#000000##000000
##EC7EB31.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A96B5
Deuteranopia (green-blind)
#A7A9B0
Tritanopia (blue-blind)
#FA7A91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7eb3;
/* rgb */ color: rgb(236, 126, 179);
/* oklch */ color: oklch(73.1% 0.147 351.1);
Tailwind
colors: {
  custom: {
    50: '#f4a6c9',
    500: '#ec7eb3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7eb3;
$custom-light: #f4a6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7eb3",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 331.091,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73064,
    "c": 0.14738,
    "h": 351.1
  },
  "luminance": 0.36009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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