#EC7CBA#EC7CBA

#EC7CBA is a light, vivid pink. Relative luminance 0.358; OKLCH L 73.0% C 0.155 H 347.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#EC7CBA
RGBrgb(236, 124, 186)
HSLhsl(327, 75%, 71%)
HSVhsv(327, 47%, 93%)
CMYKcmyk(0%, 47.5%, 21.2%, 7.5%)
CIE-LABlab(66.36, 50.39, -12.99)
CIE-LCHlch(66.36, 52.03, 345.54°)
OKLaboklab(73.01% 0.1507 -0.0341)
OKLCHoklch(73.01% 0.155 347.2)
XYZxyz(50.6638, 35.7973, 50.6860)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CBA #7CECAE
analogous
#E67CEC #EC7CBA #EC7C82
triadic
#EC7CBA #BAEC7C #7CBAEC
tetradic
#EC7CBA #ECE67C #7CECAE #7C82EC
square
#EC7CBA #ECE67C #7CECAE #7C82EC
split-complementary
#EC7CBA #82EC7C #7CECE6
monochromatic
#D01E80 #E4479E #EC7CBA #F4B1D6 #FBE4F1

Accessibility & contrast

On white

2.57
#EC7CBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#EC7CBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CBA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CBA#FFFFFF#000000##000000
##EC7CBA1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8696BC
Deuteranopia (green-blind)
#A4A8B7
Tritanopia (blue-blind)
#F97A93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7cba;
/* rgb */ color: rgb(236, 124, 186);
/* oklch */ color: oklch(73.0% 0.155 347.2);
Tailwind
colors: {
  custom: {
    50: '#f4a5ce',
    500: '#ec7cba',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cba;
$custom-light: #f4a5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cba",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 186
  },
  "hsl": {
    "h": 326.786,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73013,
    "c": 0.15452,
    "h": 347.2
  },
  "luminance": 0.35793
}

Semantic roles & 50–950 ramp

primary
#EC7CBA
secondary
#D3F1E0
accent
#D7680F
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC7CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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