#EC8BD2#EC8BD2

#EC8BD2 is a light, vivid pink. Relative luminance 0.410; OKLCH L 76.1% C 0.146 H 337.7°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#EC8BD2
RGBrgb(236, 139, 210)
HSLhsl(316, 72%, 74%)
HSVhsv(316, 41%, 93%)
CMYKcmyk(0%, 41.1%, 11%, 7.5%)
CIE-LABlab(70.14, 46.50, -20.69)
CIE-LCHlch(70.14, 50.89, 336.01°)
OKLaboklab(76.12% 0.1351 -0.0554)
OKLCHoklch(76.12% 0.146 337.7)
XYZxyz(55.4576, 40.9545, 65.9442)
Luminance0.4095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BD2 #8BECA5
analogous
#D58BEC #EC8BD2 #EC8BA1
triadic
#EC8BD2 #D2EC8B #8BD2EC
tetradic
#EC8BD2 #ECD58B #8BECA5 #8BA1EC
square
#EC8BD2 #ECD58B #8BECA5 #8BA1EC
split-complementary
#EC8BD2 #A1EC8B #8BECD5
monochromatic
#D924A8 #E356BE #EC8BD2 #F5C0E6 #FBE5F5

Accessibility & contrast

On white

2.29
#EC8BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#EC8BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BD2
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BD2#FFFFFF#000000##000000
##EC8BD21.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA2D5
Deuteranopia (green-blind)
#A6B1CF
Tritanopia (blue-blind)
#F68EA5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec8bd2;
/* rgb */ color: rgb(236, 139, 210);
/* oklch */ color: oklch(76.1% 0.146 337.7);
Tailwind
colors: {
  custom: {
    50: '#f4afe0',
    500: '#ec8bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8bd2;
$custom-light: #f4afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8bd2",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 316.082,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76121,
    "c": 0.14604,
    "h": 337.7
  },
  "luminance": 0.40951
}

Semantic roles & 50–950 ramp

primary
#EC8BD2
secondary
#D9F2E0
accent
#D44612
background
#FFFAFD
surface
#FEF5FB
border
#D6CFD4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC8BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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