#EC7BAE#EC7BAE

#EC7BAE is a light, vivid pink. Relative luminance 0.351; OKLCH L 72.5% C 0.150 H 353.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#EC7BAE
RGBrgb(236, 123, 174)
HSLhsl(333, 75%, 70%)
HSVhsv(333, 48%, 93%)
CMYKcmyk(0%, 47.9%, 26.3%, 7.5%)
CIE-LABlab(65.79, 49.22, -7.07)
CIE-LCHlch(65.79, 49.72, 351.83°)
OKLaboklab(72.46% 0.1485 -0.0181)
OKLCHoklch(72.46% 0.15 353.1)
XYZxyz(49.3166, 35.0589, 44.2059)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BAE #7BECB9
analogous
#EC7BE7 #EC7BAE #EC807B
triadic
#EC7BAE #AEEC7B #7BAEEC
tetradic
#EC7BAE #E7EC7B #7BECB9 #807BEC
square
#EC7BAE #E7EC7B #7BECB9 #807BEC
split-complementary
#EC7BAE #7BEC80 #7BE7EC
monochromatic
#CF1E6E #E4468D #EC7BAE #F4B0CF #FBE4EF

Accessibility & contrast

On white

2.62
#EC7BAE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#EC7BAE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BAE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BAE#FFFFFF#000000##000000
##EC7BAE1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8993B0
Deuteranopia (green-blind)
#A6A7AB
Tritanopia (blue-blind)
#FB768E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec7bae;
/* rgb */ color: rgb(236, 123, 174);
/* oklch */ color: oklch(72.5% 0.150 353.1);
Tailwind
colors: {
  custom: {
    50: '#f5a4c6',
    500: '#ec7bae',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bae;
$custom-light: #f5a4c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bae",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 174
  },
  "hsl": {
    "h": 332.92,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.7246,
    "c": 0.14964,
    "h": 353.1
  },
  "luminance": 0.35055
}

Semantic roles & 50–950 ramp

primary
#EC7BAE
secondary
#D2F1E3
accent
#D77D0F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC7BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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