#EC7FA3#EC7FA3

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

Color values

HEX#EC7FA3
RGBrgb(236, 127, 163)
HSLhsl(340, 74%, 71%)
HSVhsv(340, 46%, 93%)
CMYKcmyk(0%, 46.2%, 30.9%, 7.5%)
CIE-LABlab(66.26, 45.79, -0.16)
CIE-LCHlch(66.26, 45.79, 359.80°)
OKLaboklab(72.71% 0.1388 0.0002)
OKLCHoklch(72.71% 0.139 0.1)
XYZxyz(48.7942, 35.6601, 38.9565)
Luminance0.3566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FA3 #7FECC8
analogous
#EC7FDA #EC7FA3 #EC917F
triadic
#EC7FA3 #A3EC7F #7FA3EC
tetradic
#EC7FA3 #DAEC7F #7FECC8 #917FEC
square
#EC7FA3 #DAEC7F #7FECC8 #917FEC
split-complementary
#EC7FA3 #7FEC91 #7FDAEC
monochromatic
#D21F5A #E44A7D #EC7FA3 #F4B4C9 #FBE4EC

Accessibility & contrast

On white

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

On black

8.13
#EC7FA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FA3
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FA3#FFFFFF#000000##000000
##EC7FA31.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F95A4
Deuteranopia (green-blind)
#ABA9A1
Tritanopia (blue-blind)
#FC778C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7fa3;
/* rgb */ color: rgb(236, 127, 163);
/* oklch */ color: oklch(72.7% 0.139 0.1);
Tailwind
colors: {
  custom: {
    50: '#f5a6be',
    500: '#ec7fa3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fa3;
$custom-light: #f5a6be;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fa3",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 340.183,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72706,
    "c": 0.13882,
    "h": 0.1
  },
  "luminance": 0.35656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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