#EC8EBA#EC8EBA

#EC8EBA is a light, vivid pink. Relative luminance 0.407; OKLCH L 75.7% C 0.125 H 351.0°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#EC8EBA
RGBrgb(236, 142, 186)
HSLhsl(332, 71%, 74%)
HSVhsv(332, 40%, 93%)
CMYKcmyk(0%, 39.8%, 21.2%, 7.5%)
CIE-LABlab(69.98, 41.25, -7.59)
CIE-LCHlch(69.98, 41.95, 349.58°)
OKLaboklab(75.74% 0.1234 -0.0196)
OKLCHoklch(75.74% 0.125 351)
XYZxyz(53.1290, 40.7276, 51.5078)
Luminance0.4072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EBA #8EECC0
analogous
#EC8EE9 #EC8EBA #EC918E
triadic
#EC8EBA #BAEC8E #8EBAEC
tetradic
#EC8EBA #E9EC8E #8EECC0 #918EEC
square
#EC8EBA #E9EC8E #8EECC0 #918EEC
split-complementary
#EC8EBA #8EEC91 #8EE9EC
monochromatic
#DA257A #E35A9A #EC8EBA #F5C2DA #FBE5EF

Accessibility & contrast

On white

2.30
#EC8EBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#EC8EBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EBA
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EBA#FFFFFF#000000##000000
##EC8EBA1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A1BC
Deuteranopia (green-blind)
#AFB1B8
Tritanopia (blue-blind)
#F98B9E
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec8eba;
/* rgb */ color: rgb(236, 142, 186);
/* oklch */ color: oklch(75.7% 0.125 351.0);
Tailwind
colors: {
  custom: {
    50: '#f4b0ce',
    500: '#ec8eba',
    950: '#000000',
  },
}
SCSS
$custom: #ec8eba;
$custom-light: #f4b0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8eba",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 186
  },
  "hsl": {
    "h": 331.915,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75745,
    "c": 0.12498,
    "h": 351
  },
  "luminance": 0.40724
}

Semantic roles & 50–950 ramp

primary
#EC8EBA
secondary
#D9F2E6
accent
#D37912
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#171113
muted
#858082

Preview Lab

Preview with #EC8EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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