#EC8EC2#EC8EC2

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

Color values

HEX#EC8EC2
RGBrgb(236, 142, 194)
HSLhsl(327, 71%, 74%)
HSVhsv(327, 40%, 93%)
CMYKcmyk(0%, 39.8%, 17.8%, 7.5%)
CIE-LABlab(70.23, 42.44, -11.68)
CIE-LCHlch(70.23, 44.02, 344.62°)
OKLaboklab(76.01% 0.126 -0.0307)
OKLCHoklch(76.01% 0.13 346.3)
XYZxyz(54.0034, 41.0774, 56.1128)
Luminance0.4107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EC2 #8EECB8
analogous
#E78EEC #EC8EC2 #EC8E93
triadic
#EC8EC2 #C2EC8E #8EC2EC
tetradic
#EC8EC2 #ECE78E #8EECB8 #8E93EC
square
#EC8EC2 #ECE78E #8EECB8 #8E93EC
split-complementary
#EC8EC2 #93EC8E #8EECE7
monochromatic
#DA2589 #E35AA6 #EC8EC2 #F5C2DE #FBE5F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC8EC2#FFFFFF#000000##000000
##EC8EC21.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)
#95A2C4
Deuteranopia (green-blind)
#ADB1C0
Tritanopia (blue-blind)
#F88DA1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8ec2;
/* rgb */ color: rgb(236, 142, 194);
/* oklch */ color: oklch(76.0% 0.130 346.3);
Tailwind
colors: {
  custom: {
    50: '#f4b1d4',
    500: '#ec8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ec2;
$custom-light: #f4b1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ec2",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 326.809,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76011,
    "c": 0.12965,
    "h": 346.3
  },
  "luminance": 0.41074
}

Semantic roles & 50–950 ramp

primary
#EC8EC2
secondary
#D9F2E4
accent
#D36812
background
#FFFBFD
surface
#FEF6FA
border
#D6D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EC8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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