#EC8BD4#EC8BD4

#EC8BD4 is a light, vivid pink. Relative luminance 0.411; OKLCH L 76.2% C 0.148 H 336.8°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#EC8BD4
RGBrgb(236, 139, 212)
HSLhsl(315, 72%, 74%)
HSVhsv(315, 41%, 93%)
CMYKcmyk(0%, 41.1%, 10.2%, 7.5%)
CIE-LABlab(70.21, 46.82, -21.69)
CIE-LCHlch(70.21, 51.60, 335.14°)
OKLaboklab(76.2% 0.1356 -0.0582)
OKLCHoklch(76.2% 0.148 336.8)
XYZxyz(55.7084, 41.0548, 67.2647)
Luminance0.4105 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BD4 #8BECA3
analogous
#D38BEC #EC8BD4 #EC8BA3
triadic
#EC8BD4 #D4EC8B #8BD4EC
tetradic
#EC8BD4 #ECD38B #8BECA3 #8BA3EC
square
#EC8BD4 #ECD38B #8BECA3 #8BA3EC
split-complementary
#EC8BD4 #A3EC8B #8BECD3
monochromatic
#D924AC #E356C1 #EC8BD4 #F5C0E7 #FBE5F5

Accessibility & contrast

On white

2.28
#EC8BD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#EC8BD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BD4
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BD4#FFFFFF#000000##000000
##EC8BD41.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA3D7
Deuteranopia (green-blind)
#A6B1D1
Tritanopia (blue-blind)
#F58EA6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8bd4;
/* rgb */ color: rgb(236, 139, 212);
/* oklch */ color: oklch(76.2% 0.148 336.8);
Tailwind
colors: {
  custom: {
    50: '#f4afe1',
    500: '#ec8bd4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8bd4;
$custom-light: #f4afe1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8bd4",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 212
  },
  "hsl": {
    "h": 314.845,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76197,
    "c": 0.14761,
    "h": 336.8
  },
  "luminance": 0.41052
}

Semantic roles & 50–950 ramp

primary
#EC8BD4
secondary
#D9F2DF
accent
#D44212
background
#FFFAFD
surface
#FEF5FB
border
#D6CFD4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC8BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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