#EC7FA6#EC7FA6

#EC7FA6 is a light, vivid pink. Relative luminance 0.358; OKLCH L 72.8% C 0.140 H 358.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#EC7FA6
RGBrgb(236, 127, 166)
HSLhsl(339, 74%, 71%)
HSVhsv(339, 46%, 93%)
CMYKcmyk(0%, 46.2%, 29.7%, 7.5%)
CIE-LABlab(66.34, 46.17, -1.73)
CIE-LCHlch(66.34, 46.20, 357.85°)
OKLaboklab(72.8% 0.1399 -0.0039)
OKLCHoklch(72.8% 0.14 358.4)
XYZxyz(49.0662, 35.7689, 40.3889)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FA6 #7FECC5
analogous
#EC7FDC #EC7FA6 #EC8E7F
triadic
#EC7FA6 #A6EC7F #7FA6EC
tetradic
#EC7FA6 #DCEC7F #7FECC5 #8E7FEC
square
#EC7FA6 #DCEC7F #7FECC5 #8E7FEC
split-complementary
#EC7FA6 #7FEC8E #7FDCEC
monochromatic
#D21F5F #E44A81 #EC7FA6 #F4B4CB #FBE4EC

Accessibility & contrast

On white

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

On black

8.15
#EC7FA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FA6
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FA6#FFFFFF#000000##000000
##EC7FA61.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F95A7
Deuteranopia (green-blind)
#AAA9A3
Tritanopia (blue-blind)
#FB788D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7fa6;
/* rgb */ color: rgb(236, 127, 166);
/* oklch */ color: oklch(72.8% 0.140 358.4);
Tailwind
colors: {
  custom: {
    50: '#f5a6c0',
    500: '#ec7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fa6;
$custom-light: #f5a6c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fa6",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 338.532,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72797,
    "c": 0.13991,
    "h": 358.4
  },
  "luminance": 0.35765
}

Semantic roles & 50–950 ramp

primary
#EC7FA6
secondary
#D5F2E7
accent
#D68F0F
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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