#EC8CCB#EC8CCB

#EC8CCB is a light, vivid pink. Relative luminance 0.409; OKLCH L 76.0% C 0.139 H 341.2°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#EC8CCB
RGBrgb(236, 140, 203)
HSLhsl(321, 72%, 74%)
HSVhsv(321, 41%, 93%)
CMYKcmyk(0%, 40.7%, 14%, 7.5%)
CIE-LABlab(70.11, 44.87, -16.86)
CIE-LCHlch(70.11, 47.93, 339.40°)
OKLaboklab(76.02% 0.1317 -0.0448)
OKLCHoklch(76.02% 0.139 341.2)
XYZxyz(54.7500, 40.9042, 61.4999)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CCB #8CECAD
analogous
#DD8CEC #EC8CCB #EC8C9B
triadic
#EC8CCB #CBEC8C #8CCBEC
tetradic
#EC8CCB #ECDD8C #8CECAD #8C9BEC
square
#EC8CCB #ECDD8C #8CECAD #8C9BEC
split-complementary
#EC8CCB #9BEC8C #8CECDD
monochromatic
#DA249B #E357B3 #EC8CCB #F5C1E3 #FBE5F3

Accessibility & contrast

On white

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

On black

9.18
#EC8CCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CCB
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CCB#FFFFFF#000000##000000
##EC8CCB1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A2CD
Deuteranopia (green-blind)
#A9B1C8
Tritanopia (blue-blind)
#F78DA3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec8ccb;
/* rgb */ color: rgb(236, 140, 203);
/* oklch */ color: oklch(76.0% 0.139 341.2);
Tailwind
colors: {
  custom: {
    50: '#f4afdb',
    500: '#ec8ccb',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ccb;
$custom-light: #f4afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ccb",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 203
  },
  "hsl": {
    "h": 320.625,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76016,
    "c": 0.13911,
    "h": 341.2
  },
  "luminance": 0.40901
}

Semantic roles & 50–950 ramp

primary
#EC8CCB
secondary
#D9F2E2
accent
#D45412
background
#FFFAFD
surface
#FEF5FA
border
#D6CFD3
text
#171115
muted
#858083

Preview Lab

Preview with #EC8CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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