#EC8CA7#EC8CA7

#EC8CA7 is a light, vivid pink. Relative luminance 0.394; OKLCH L 74.8% C 0.120 H 2.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#EC8CA7
RGBrgb(236, 140, 167)
HSLhsl(343, 72%, 74%)
HSVhsv(343, 41%, 93%)
CMYKcmyk(0%, 40.7%, 29.2%, 7.5%)
CIE-LABlab(69.03, 39.66, 1.63)
CIE-LCHlch(69.03, 39.69, 2.35°)
OKLaboklab(74.84% 0.1201 0.0048)
OKLCHoklch(74.84% 0.12 2.3)
XYZxyz(50.9469, 39.3829, 41.4701)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CA7 #8CECD1
analogous
#EC8CD7 #EC8CA7 #ECA18C
triadic
#EC8CA7 #A7EC8C #8CA7EC
tetradic
#EC8CA7 #D7EC8C #8CECD1 #A18CEC
square
#EC8CA7 #D7EC8C #8CECD1 #A18CEC
split-complementary
#EC8CA7 #8CECA1 #8CD7EC
monochromatic
#DA2457 #E3577F #EC8CA7 #F5C1CF #FBE5EB

Accessibility & contrast

On white

2.37
#EC8CA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#EC8CA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CA7
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CA7#FFFFFF#000000##000000
##EC8CA71.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A9EA8
Deuteranopia (green-blind)
#B2AFA5
Tritanopia (blue-blind)
#FB8595
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec8ca7;
/* rgb */ color: rgb(236, 140, 167);
/* oklch */ color: oklch(74.8% 0.120 2.3);
Tailwind
colors: {
  custom: {
    50: '#f4afc1',
    500: '#ec8ca7',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ca7;
$custom-light: #f4afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ca7",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 167
  },
  "hsl": {
    "h": 343.125,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74841,
    "c": 0.12016,
    "h": 2.3
  },
  "luminance": 0.39379
}

Semantic roles & 50–950 ramp

primary
#EC8CA7
secondary
#D9F2EB
accent
#D49D12
background
#FFFAFB
surface
#FFF5F7
border
#D7CFD0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC8CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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