#EC7FB1#EC7FB1

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

Color values

HEX#EC7FB1
RGBrgb(236, 127, 177)
HSLhsl(332, 74%, 71%)
HSVhsv(332, 46%, 93%)
CMYKcmyk(0%, 46.2%, 25%, 7.5%)
CIE-LABlab(66.66, 47.63, -7.47)
CIE-LCHlch(66.66, 48.22, 351.09°)
OKLaboklab(73.15% 0.1435 -0.0192)
OKLCHoklch(73.15% 0.145 352.4)
XYZxyz(50.1187, 36.1899, 45.9321)
Luminance0.3619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FB1 #7FECBA
analogous
#EC7FE7 #EC7FB1 #EC837F
triadic
#EC7FB1 #B1EC7F #7FB1EC
tetradic
#EC7FB1 #E7EC7F #7FECBA #837FEC
square
#EC7FB1 #E7EC7F #7FECBA #837FEC
split-complementary
#EC7FB1 #7FEC83 #7FE7EC
monochromatic
#D21F71 #E44A91 #EC7FB1 #F4B4D1 #FBE4EF

Accessibility & contrast

On white

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

On black

8.24
#EC7FB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FB1
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FB1#FFFFFF#000000##000000
##EC7FB11.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C96B3
Deuteranopia (green-blind)
#A8A9AE
Tritanopia (blue-blind)
#FA7B91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7fb1;
/* rgb */ color: rgb(236, 127, 177);
/* oklch */ color: oklch(73.1% 0.145 352.4);
Tailwind
colors: {
  custom: {
    50: '#f4a7c8',
    500: '#ec7fb1',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fb1;
$custom-light: #f4a7c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fb1",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 177
  },
  "hsl": {
    "h": 332.477,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73145,
    "c": 0.14475,
    "h": 352.4
  },
  "luminance": 0.36186
}

Semantic roles & 50–950 ramp

primary
#EC7FB1
secondary
#D5F2E5
accent
#D67B0F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EC7FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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