#EC8EB5#EC8EB5

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

Color values

HEX#EC8EB5
RGBrgb(236, 142, 181)
HSLhsl(335, 71%, 74%)
HSVhsv(335, 40%, 93%)
CMYKcmyk(0%, 39.8%, 23.3%, 7.5%)
CIE-LABlab(69.84, 40.53, -5.02)
CIE-LCHlch(69.84, 40.84, 352.95°)
OKLaboklab(75.58% 0.1218 -0.0127)
OKLCHoklch(75.58% 0.122 354)
XYZxyz(52.6068, 40.5187, 48.7572)
Luminance0.4052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EB5 #8EECC5
analogous
#EC8EE4 #EC8EB5 #EC968E
triadic
#EC8EB5 #B5EC8E #8EB5EC
tetradic
#EC8EB5 #E4EC8E #8EECC5 #968EEC
square
#EC8EB5 #E4EC8E #8EECC5 #968EEC
split-complementary
#EC8EB5 #8EEC96 #8EE4EC
monochromatic
#DA2570 #E35A93 #EC8EB5 #F5C2D7 #FBE5EE

Accessibility & contrast

On white

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

On black

9.10
#EC8EB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EB5
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EB5#FFFFFF#000000##000000
##EC8EB51.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A1B6
Deuteranopia (green-blind)
#B0B1B3
Tritanopia (blue-blind)
#F98A9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec8eb5;
/* rgb */ color: rgb(236, 142, 181);
/* oklch */ color: oklch(75.6% 0.122 354.0);
Tailwind
colors: {
  custom: {
    50: '#f4b0cb',
    500: '#ec8eb5',
    950: '#000000',
  },
}
SCSS
$custom: #ec8eb5;
$custom-light: #f4b0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8eb5",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 181
  },
  "hsl": {
    "h": 335.106,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75584,
    "c": 0.12244,
    "h": 354
  },
  "luminance": 0.40515
}

Semantic roles & 50–950 ramp

primary
#EC8EB5
secondary
#D9F2E8
accent
#D38312
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #EC8EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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