#EC8BA7#EC8BA7

#EC8BA7 is a light, vivid pink. Relative luminance 0.391; OKLCH L 74.7% C 0.122 H 1.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#EC8BA7
RGBrgb(236, 139, 167)
HSLhsl(343, 72%, 74%)
HSVhsv(343, 41%, 93%)
CMYKcmyk(0%, 41.1%, 29.2%, 7.5%)
CIE-LABlab(68.82, 40.18, 1.32)
CIE-LCHlch(68.82, 40.20, 1.88°)
OKLaboklab(74.68% 0.1216 0.004)
OKLCHoklch(74.68% 0.122 1.9)
XYZxyz(50.8014, 39.0920, 41.4216)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BA7 #8BECD0
analogous
#EC8BD8 #EC8BA7 #EC9F8B
triadic
#EC8BA7 #A7EC8B #8BA7EC
tetradic
#EC8BA7 #D8EC8B #8BECD0 #9F8BEC
square
#EC8BA7 #D8EC8B #8BECD0 #9F8BEC
split-complementary
#EC8BA7 #8BEC9F #8BD8EC
monochromatic
#D92458 #E3567F #EC8BA7 #F5C0CF #FBE5EB

Accessibility & contrast

On white

2.38
#EC8BA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#EC8BA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BA7
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BA7#FFFFFF#000000##000000
##EC8BA71.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#999DA8
Deuteranopia (green-blind)
#B1AFA5
Tritanopia (blue-blind)
#FB8495
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec8ba7;
/* rgb */ color: rgb(236, 139, 167);
/* oklch */ color: oklch(74.7% 0.122 1.9);
Tailwind
colors: {
  custom: {
    50: '#f4aec1',
    500: '#ec8ba7',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ba7;
$custom-light: #f4aec1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ba7",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 167
  },
  "hsl": {
    "h": 342.68,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74681,
    "c": 0.12169,
    "h": 1.9
  },
  "luminance": 0.39088
}

Semantic roles & 50–950 ramp

primary
#EC8BA7
secondary
#D9F2EB
accent
#D49C12
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC8BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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