#EC8EA7#EC8EA7

#EC8EA7 is a light, moderate pink. Relative luminance 0.400; OKLCH L 75.2% C 0.117 H 3.1°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#EC8EA7
RGBrgb(236, 142, 167)
HSLhsl(344, 71%, 74%)
HSVhsv(344, 40%, 93%)
CMYKcmyk(0%, 39.8%, 29.2%, 7.5%)
CIE-LABlab(69.45, 38.62, 2.24)
CIE-LCHlch(69.45, 38.69, 3.32°)
OKLaboklab(75.16% 0.1169 0.0064)
OKLCHoklch(75.16% 0.117 3.1)
XYZxyz(51.2418, 39.9727, 41.5684)
Luminance0.3997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EA7 #8EECD3
analogous
#EC8ED6 #EC8EA7 #ECA48E
triadic
#EC8EA7 #A7EC8E #8EA7EC
tetradic
#EC8EA7 #D6EC8E #8EECD3 #A48EEC
square
#EC8EA7 #D6EC8E #8EECD3 #A48EEC
split-complementary
#EC8EA7 #8EECA4 #8ED6EC
monochromatic
#DA2555 #E35A7E #EC8EA7 #F5C2D0 #FBE5EB

Accessibility & contrast

On white

2.33
#EC8EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#EC8EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EA7
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EA7#FFFFFF#000000##000000
##EC8EA71.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9FA8
Deuteranopia (green-blind)
#B3B0A5
Tritanopia (blue-blind)
#FB8797
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec8ea7;
/* rgb */ color: rgb(236, 142, 167);
/* oklch */ color: oklch(75.2% 0.117 3.1);
Tailwind
colors: {
  custom: {
    50: '#f4b0c1',
    500: '#ec8ea7',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ea7;
$custom-light: #f4b0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ea7",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 344.043,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75162,
    "c": 0.11709,
    "h": 3.1
  },
  "luminance": 0.39969
}

Semantic roles & 50–950 ramp

primary
#EC8EA7
secondary
#D9F2EB
accent
#D3A012
background
#FFFAFB
surface
#FFF5F7
border
#D7CFD0
text
#171112
muted
#858081

Preview Lab

Preview with #EC8EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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