#EC8BDB#EC8BDB

#EC8BDB is a light, vivid pink. Relative luminance 0.414; OKLCH L 76.5% C 0.153 H 333.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#EC8BDB
RGBrgb(236, 139, 219)
HSLhsl(311, 72%, 74%)
HSVhsv(311, 41%, 93%)
CMYKcmyk(0%, 41.1%, 7.2%, 7.5%)
CIE-LABlab(70.47, 47.99, -25.18)
CIE-LCHlch(70.47, 54.19, 332.32°)
OKLaboklab(76.47% 0.1374 -0.068)
OKLCHoklch(76.47% 0.153 333.7)
XYZxyz(56.6106, 41.4157, 72.0163)
Luminance0.4141 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BDB #8BEC9C
analogous
#CC8BEC #EC8BDB #EC8BAA
triadic
#EC8BDB #DBEC8B #8BDBEC
tetradic
#EC8BDB #ECCC8B #8BEC9C #8BAAEC
square
#EC8BDB #ECCC8B #8BEC9C #8BAAEC
split-complementary
#EC8BDB #AAEC8B #8BECCC
monochromatic
#D924B9 #E356CB #EC8BDB #F5C0EB #FBE5F7

Accessibility & contrast

On white

2.26
#EC8BDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#EC8BDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BDB
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BDB#FFFFFF#000000##000000
##EC8BDB1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DE
Deuteranopia (green-blind)
#A4B1D8
Tritanopia (blue-blind)
#F490A9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8bdb;
/* rgb */ color: rgb(236, 139, 219);
/* oklch */ color: oklch(76.5% 0.153 333.7);
Tailwind
colors: {
  custom: {
    50: '#f4afe6',
    500: '#ec8bdb',
    950: '#000000',
  },
}
SCSS
$custom: #ec8bdb;
$custom-light: #f4afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8bdb",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 219
  },
  "hsl": {
    "h": 310.515,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7647,
    "c": 0.15332,
    "h": 333.7
  },
  "luminance": 0.41413
}

Semantic roles & 50–950 ramp

primary
#EC8BDB
secondary
#D9F2DD
accent
#D43412
background
#FFFAFE
surface
#FEF5FC
border
#D6CFD5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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