#EC7FBA#EC7FBA

#EC7FBA is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.5% C 0.150 H 347.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#EC7FBA
RGBrgb(236, 127, 186)
HSLhsl(328, 74%, 71%)
HSVhsv(328, 46%, 93%)
CMYKcmyk(0%, 46.2%, 21.2%, 7.5%)
CIE-LABlab(66.95, 48.89, -12.12)
CIE-LCHlch(66.95, 50.38, 346.08°)
OKLaboklab(73.45% 0.1462 -0.0318)
OKLCHoklch(73.45% 0.15 347.7)
XYZxyz(51.0455, 36.5607, 50.8133)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FBA #7FECB1
analogous
#E77FEC #EC7FBA #EC7F83
triadic
#EC7FBA #BAEC7F #7FBAEC
tetradic
#EC7FBA #ECE77F #7FECB1 #7F83EC
square
#EC7FBA #ECE77F #7FECB1 #7F83EC
split-complementary
#EC7FBA #83EC7F #7FECE7
monochromatic
#D21F80 #E44A9D #EC7FBA #F4B4D7 #FBE4F1

Accessibility & contrast

On white

2.53
#EC7FBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#EC7FBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FBA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FBA#FFFFFF#000000##000000
##EC7FBA1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8997BC
Deuteranopia (green-blind)
#A6AAB7
Tritanopia (blue-blind)
#F97D95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7fba;
/* rgb */ color: rgb(236, 127, 186);
/* oklch */ color: oklch(73.5% 0.150 347.7);
Tailwind
colors: {
  custom: {
    50: '#f4a7ce',
    500: '#ec7fba',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fba;
$custom-light: #f4a7ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fba",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 186
  },
  "hsl": {
    "h": 327.523,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7345,
    "c": 0.14965,
    "h": 347.7
  },
  "luminance": 0.36557
}

Semantic roles & 50–950 ramp

primary
#EC7FBA
secondary
#D5F2E2
accent
#D66B0F
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171013
muted
#857F82

Preview Lab

Preview with #EC7FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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