#EC7FA1#EC7FA1

#EC7FA1 is a light, vivid pink. Relative luminance 0.356; OKLCH L 72.6% C 0.138 H 1.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#EC7FA1
RGBrgb(236, 127, 161)
HSLhsl(341, 74%, 71%)
HSVhsv(341, 46%, 93%)
CMYKcmyk(0%, 46.2%, 31.8%, 7.5%)
CIE-LABlab(66.20, 45.54, 0.90)
CIE-LCHlch(66.20, 45.55, 1.13°)
OKLaboklab(72.65% 0.1381 0.0029)
OKLCHoklch(72.65% 0.138 1.2)
XYZxyz(48.6165, 35.5890, 38.0202)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FA1 #7FECCA
analogous
#EC7FD8 #EC7FA1 #EC937F
triadic
#EC7FA1 #A1EC7F #7FA1EC
tetradic
#EC7FA1 #D8EC7F #7FECCA #937FEC
square
#EC7FA1 #D8EC7F #7FECCA #937FEC
split-complementary
#EC7FA1 #7FEC93 #7FD8EC
monochromatic
#D21F57 #E44A7A #EC7FA1 #F4B4C8 #FBE4EB

Accessibility & contrast

On white

2.59
#EC7FA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#EC7FA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FA1
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FA1#FFFFFF#000000##000000
##EC7FA11.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9094A2
Deuteranopia (green-blind)
#ABA99F
Tritanopia (blue-blind)
#FC778B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7fa1;
/* rgb */ color: rgb(236, 127, 161);
/* oklch */ color: oklch(72.6% 0.138 1.2);
Tailwind
colors: {
  custom: {
    50: '#f5a6bc',
    500: '#ec7fa1',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fa1;
$custom-light: #f5a6bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fa1",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 341.284,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72647,
    "c": 0.13816,
    "h": 1.2
  },
  "luminance": 0.35585
}

Semantic roles & 50–950 ramp

primary
#EC7FA1
secondary
#D5F2E9
accent
#D6980F
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC7FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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