#EC7FA4#EC7FA4

#EC7FA4 is a light, vivid pink. Relative luminance 0.357; OKLCH L 72.7% C 0.139 H 359.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#EC7FA4
RGBrgb(236, 127, 164)
HSLhsl(340, 74%, 71%)
HSVhsv(340, 46%, 93%)
CMYKcmyk(0%, 46.2%, 30.5%, 7.5%)
CIE-LABlab(66.29, 45.92, -0.68)
CIE-LCHlch(66.29, 45.92, 359.15°)
OKLaboklab(72.74% 0.1392 -0.0012)
OKLCHoklch(72.74% 0.139 359.5)
XYZxyz(48.8842, 35.6961, 39.4302)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FA4 #7FECC7
analogous
#EC7FDA #EC7FA4 #EC907F
triadic
#EC7FA4 #A4EC7F #7FA4EC
tetradic
#EC7FA4 #DAEC7F #7FECC7 #907FEC
square
#EC7FA4 #DAEC7F #7FECC7 #907FEC
split-complementary
#EC7FA4 #7FEC90 #7FDAEC
monochromatic
#D21F5C #E44A7E #EC7FA4 #F4B4CA #FBE4EC

Accessibility & contrast

On white

2.58
#EC7FA4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#EC7FA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FA4
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FA4#FFFFFF#000000##000000
##EC7FA41.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F95A5
Deuteranopia (green-blind)
#ABA9A2
Tritanopia (blue-blind)
#FC788C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7fa4;
/* rgb */ color: rgb(236, 127, 164);
/* oklch */ color: oklch(72.7% 0.139 359.5);
Tailwind
colors: {
  custom: {
    50: '#f5a6be',
    500: '#ec7fa4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fa4;
$custom-light: #f5a6be;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fa4",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 339.633,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72736,
    "c": 0.13918,
    "h": 359.5
  },
  "luminance": 0.35692
}

Semantic roles & 50–950 ramp

primary
#EC7FA4
secondary
#D5F2E8
accent
#D6930F
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC7FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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