#EC7FA5#EC7FA5

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

Color values

HEX#EC7FA5
RGBrgb(236, 127, 165)
HSLhsl(339, 74%, 71%)
HSVhsv(339, 46%, 93%)
CMYKcmyk(0%, 46.2%, 30.1%, 7.5%)
CIE-LABlab(66.31, 46.04, -1.21)
CIE-LCHlch(66.31, 46.06, 358.50°)
OKLaboklab(72.77% 0.1395 -0.0026)
OKLCHoklch(72.77% 0.14 358.9)
XYZxyz(48.9748, 35.7324, 39.9077)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FA5 #7FECC6
analogous
#EC7FDB #EC7FA5 #EC8F7F
triadic
#EC7FA5 #A5EC7F #7FA5EC
tetradic
#EC7FA5 #DBEC7F #7FECC6 #8F7FEC
square
#EC7FA5 #DBEC7F #7FECC6 #8F7FEC
split-complementary
#EC7FA5 #7FEC8F #7FDBEC
monochromatic
#D21F5D #E44A80 #EC7FA5 #F4B4CA #FBE4EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC7FA5#FFFFFF#000000##000000
##EC7FA51.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)
#8F95A6
Deuteranopia (green-blind)
#ABA9A2
Tritanopia (blue-blind)
#FC788D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7fa5;
/* rgb */ color: rgb(236, 127, 165);
/* oklch */ color: oklch(72.8% 0.140 358.9);
Tailwind
colors: {
  custom: {
    50: '#f5a6bf',
    500: '#ec7fa5',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fa5;
$custom-light: #f5a6bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fa5",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 339.083,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72766,
    "c": 0.13953,
    "h": 358.9
  },
  "luminance": 0.35728
}

Semantic roles & 50–950 ramp

primary
#EC7FA5
secondary
#D5F2E8
accent
#D6910F
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC7FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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