#EC8EB4#EC8EB4

#EC8EB4 is a light, vivid pink. Relative luminance 0.405; OKLCH L 75.6% C 0.122 H 354.7°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#EC8EB4
RGBrgb(236, 142, 180)
HSLhsl(336, 71%, 74%)
HSVhsv(336, 40%, 93%)
CMYKcmyk(0%, 39.8%, 23.7%, 7.5%)
CIE-LABlab(69.81, 40.39, -4.50)
CIE-LCHlch(69.81, 40.64, 353.64°)
OKLaboklab(75.55% 0.1214 -0.0114)
OKLCHoklch(75.55% 0.122 354.7)
XYZxyz(52.5045, 40.4778, 48.2188)
Luminance0.4047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EB4 #8EECC6
analogous
#EC8EE3 #EC8EB4 #EC978E
triadic
#EC8EB4 #B4EC8E #8EB4EC
tetradic
#EC8EB4 #E3EC8E #8EECC6 #978EEC
square
#EC8EB4 #E3EC8E #8EECC6 #978EEC
split-complementary
#EC8EB4 #8EEC97 #8EE3EC
monochromatic
#DA256E #E35A91 #EC8EB4 #F5C2D7 #FBE5EE

Accessibility & contrast

On white

2.31
#EC8EB4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#EC8EB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EB4
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EB4#FFFFFF#000000##000000
##EC8EB41.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A1B5
Deuteranopia (green-blind)
#B0B1B2
Tritanopia (blue-blind)
#F98A9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec8eb4;
/* rgb */ color: rgb(236, 142, 180);
/* oklch */ color: oklch(75.6% 0.122 354.7);
Tailwind
colors: {
  custom: {
    50: '#f4b0ca',
    500: '#ec8eb4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8eb4;
$custom-light: #f4b0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8eb4",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 335.745,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75553,
    "c": 0.12197,
    "h": 354.7
  },
  "luminance": 0.40474
}

Semantic roles & 50–950 ramp

primary
#EC8EB4
secondary
#D9F2E8
accent
#D38512
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #EC8EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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