#EC8EC4#EC8EC4

#EC8EC4 is a light, vivid pink. Relative luminance 0.412; OKLCH L 76.1% C 0.131 H 345.2°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#EC8EC4
RGBrgb(236, 142, 196)
HSLhsl(326, 71%, 74%)
HSVhsv(326, 40%, 93%)
CMYKcmyk(0%, 39.8%, 16.9%, 7.5%)
CIE-LABlab(70.29, 42.75, -12.69)
CIE-LCHlch(70.29, 44.59, 343.46°)
OKLaboklab(76.08% 0.1266 -0.0334)
OKLCHoklch(76.08% 0.131 345.2)
XYZxyz(54.2295, 41.1678, 57.3037)
Luminance0.4116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EC4 #8EECB6
analogous
#E58EEC #EC8EC4 #EC8E95
triadic
#EC8EC4 #C4EC8E #8EC4EC
tetradic
#EC8EC4 #ECE58E #8EECB6 #8E95EC
square
#EC8EC4 #ECE58E #8EECB6 #8E95EC
split-complementary
#EC8EC4 #95EC8E #8EECE5
monochromatic
#DA258D #E35AA9 #EC8EC4 #F5C2DF #FBE5F1

Accessibility & contrast

On white

2.27
#EC8EC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#EC8EC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EC4
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EC4#FFFFFF#000000##000000
##EC8EC41.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A2C6
Deuteranopia (green-blind)
#ACB2C2
Tritanopia (blue-blind)
#F78DA1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8ec4;
/* rgb */ color: rgb(236, 142, 196);
/* oklch */ color: oklch(76.1% 0.131 345.2);
Tailwind
colors: {
  custom: {
    50: '#f4b1d5',
    500: '#ec8ec4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ec4;
$custom-light: #f4b1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ec4",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 196
  },
  "hsl": {
    "h": 325.532,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7608,
    "c": 0.13093,
    "h": 345.2
  },
  "luminance": 0.41164
}

Semantic roles & 50–950 ramp

primary
#EC8EC4
secondary
#D9F2E4
accent
#D36412
background
#FFFBFD
surface
#FEF6FA
border
#D6D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EC8EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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