#EC7FB2#EC7FB2

#EC7FB2 is a light, vivid pink. Relative luminance 0.362; OKLCH L 73.2% C 0.145 H 351.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#EC7FB2
RGBrgb(236, 127, 178)
HSLhsl(332, 74%, 71%)
HSVhsv(332, 46%, 93%)
CMYKcmyk(0%, 46.2%, 24.6%, 7.5%)
CIE-LABlab(66.70, 47.77, -7.99)
CIE-LCHlch(66.70, 48.43, 350.50°)
OKLaboklab(73.18% 0.1438 -0.0206)
OKLCHoklch(73.18% 0.145 351.9)
XYZxyz(50.2188, 36.2300, 46.4590)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FB2 #7FECB9
analogous
#EC7FE8 #EC7FB2 #EC827F
triadic
#EC7FB2 #B2EC7F #7FB2EC
tetradic
#EC7FB2 #E8EC7F #7FECB9 #827FEC
square
#EC7FB2 #E8EC7F #7FECB9 #827FEC
split-complementary
#EC7FB2 #7FEC82 #7FE8EC
monochromatic
#D21F73 #E44A92 #EC7FB2 #F4B4D2 #FBE4EF

Accessibility & contrast

On white

2.55
#EC7FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#EC7FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FB2
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FB2#FFFFFF#000000##000000
##EC7FB21.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B96B4
Deuteranopia (green-blind)
#A8A9AF
Tritanopia (blue-blind)
#FA7B92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7fb2;
/* rgb */ color: rgb(236, 127, 178);
/* oklch */ color: oklch(73.2% 0.145 351.9);
Tailwind
colors: {
  custom: {
    50: '#f4a7c9',
    500: '#ec7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fb2;
$custom-light: #f4a7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fb2",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 331.927,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73178,
    "c": 0.14526,
    "h": 351.9
  },
  "luminance": 0.36226
}

Semantic roles & 50–950 ramp

primary
#EC7FB2
secondary
#D5F2E4
accent
#D6790F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EC7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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