#EC8BD3#EC8BD3

#EC8BD3 is a light, vivid pink. Relative luminance 0.410; OKLCH L 76.2% C 0.147 H 337.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#EC8BD3
RGBrgb(236, 139, 211)
HSLhsl(315, 72%, 74%)
HSVhsv(315, 41%, 93%)
CMYKcmyk(0%, 41.1%, 10.6%, 7.5%)
CIE-LABlab(70.18, 46.66, -21.19)
CIE-LCHlch(70.18, 51.25, 335.58°)
OKLaboklab(76.16% 0.1354 -0.0568)
OKLCHoklch(76.16% 0.147 337.2)
XYZxyz(55.5826, 41.0045, 66.6024)
Luminance0.4100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BD3 #8BECA4
analogous
#D48BEC #EC8BD3 #EC8BA2
triadic
#EC8BD3 #D3EC8B #8BD3EC
tetradic
#EC8BD3 #ECD48B #8BECA4 #8BA2EC
square
#EC8BD3 #ECD48B #8BECA4 #8BA2EC
split-complementary
#EC8BD3 #A2EC8B #8BECD4
monochromatic
#D924AA #E356BF #EC8BD3 #F5C0E7 #FBE5F5

Accessibility & contrast

On white

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

On black

9.20
#EC8BD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BD3
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BD3#FFFFFF#000000##000000
##EC8BD31.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec8bd3;
/* rgb */ color: rgb(236, 139, 211);
/* oklch */ color: oklch(76.2% 0.147 337.2);
Tailwind
colors: {
  custom: {
    50: '#f4afe0',
    500: '#ec8bd3',
    950: '#000000',
  },
}
SCSS
$custom: #ec8bd3;
$custom-light: #f4afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8bd3",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 211
  },
  "hsl": {
    "h": 315.464,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76159,
    "c": 0.14682,
    "h": 337.2
  },
  "luminance": 0.41001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC8BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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