#EC7EB2#EC7EB2

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

Color values

HEX#EC7EB2
RGBrgb(236, 126, 178)
HSLhsl(332, 74%, 71%)
HSVhsv(332, 47%, 93%)
CMYKcmyk(0%, 46.6%, 24.6%, 7.5%)
CIE-LABlab(66.50, 48.27, -8.28)
CIE-LCHlch(66.50, 48.98, 350.26°)
OKLaboklab(73.03% 0.1453 -0.0214)
OKLCHoklch(73.03% 0.147 351.6)
XYZxyz(50.0903, 35.9729, 46.4162)
Luminance0.3597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EB2 #7EECB8
analogous
#EC7EE9 #EC7EB2 #EC817E
triadic
#EC7EB2 #B2EC7E #7EB2EC
tetradic
#EC7EB2 #E9EC7E #7EECB8 #817EEC
square
#EC7EB2 #E9EC7E #7EECB8 #817EEC
split-complementary
#EC7EB2 #7EEC81 #7EE9EC
monochromatic
#D11F73 #E44992 #EC7EB2 #F4B3D2 #FBE4EF

Accessibility & contrast

On white

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

On black

8.19
#EC7EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EB2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EB2#FFFFFF#000000##000000
##EC7EB21.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7eb2;
/* rgb */ color: rgb(236, 126, 178);
/* oklch */ color: oklch(73.0% 0.147 351.6);
Tailwind
colors: {
  custom: {
    50: '#f4a6c9',
    500: '#ec7eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7eb2;
$custom-light: #f4a6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7eb2",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 331.636,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73031,
    "c": 0.14686,
    "h": 351.6
  },
  "luminance": 0.35969
}

Semantic roles & 50–950 ramp

primary
#EC7EB2
secondary
#D4F2E4
accent
#D6780F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EC7EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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