#EC8EC1#EC8EC1

#EC8EC1 is a light, vivid pink. Relative luminance 0.410; OKLCH L 76.0% C 0.129 H 346.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#EC8EC1
RGBrgb(236, 142, 193)
HSLhsl(327, 71%, 74%)
HSVhsv(327, 40%, 93%)
CMYKcmyk(0%, 39.8%, 18.2%, 7.5%)
CIE-LABlab(70.20, 42.29, -11.17)
CIE-LCHlch(70.20, 43.74, 345.21°)
OKLaboklab(75.98% 0.1257 -0.0293)
OKLCHoklch(75.98% 0.129 346.9)
XYZxyz(53.8915, 41.0326, 55.5233)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EC1 #8EECB9
analogous
#E88EEC #EC8EC1 #EC8E92
triadic
#EC8EC1 #C1EC8E #8EC1EC
tetradic
#EC8EC1 #ECE88E #8EECB9 #8E92EC
square
#EC8EC1 #ECE88E #8EECB9 #8E92EC
split-complementary
#EC8EC1 #92EC8E #8EECE8
monochromatic
#DA2588 #E35AA4 #EC8EC1 #F5C2DE #FBE5F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC8EC1#FFFFFF#000000##000000
##EC8EC11.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)
#96A2C3
Deuteranopia (green-blind)
#ADB1BF
Tritanopia (blue-blind)
#F88DA0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8ec1;
/* rgb */ color: rgb(236, 142, 193);
/* oklch */ color: oklch(76.0% 0.129 346.9);
Tailwind
colors: {
  custom: {
    50: '#f4b1d3',
    500: '#ec8ec1',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ec1;
$custom-light: #f4b1d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ec1",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 193
  },
  "hsl": {
    "h": 327.447,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75977,
    "c": 0.12903,
    "h": 346.9
  },
  "luminance": 0.41029
}

Semantic roles & 50–950 ramp

primary
#EC8EC1
secondary
#D9F2E4
accent
#D36B12
background
#FFFBFC
surface
#FEF6F9
border
#D6D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #EC8EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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