#EC8ECE#EC8ECE

#EC8ECE is a light, vivid pink. Relative luminance 0.416; OKLCH L 76.4% C 0.138 H 339.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#EC8ECE
RGBrgb(236, 142, 206)
HSLhsl(319, 71%, 74%)
HSVhsv(319, 40%, 93%)
CMYKcmyk(0%, 39.8%, 12.7%, 7.5%)
CIE-LABlab(70.62, 44.31, -17.75)
CIE-LCHlch(70.62, 47.74, 338.17°)
OKLaboklab(76.44% 0.1295 -0.0473)
OKLCHoklch(76.44% 0.138 339.9)
XYZxyz(55.4059, 41.6384, 63.4992)
Luminance0.4163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8ECE #8EECAC
analogous
#DB8EEC #EC8ECE #EC8E9F
triadic
#EC8ECE #CEEC8E #8ECEEC
tetradic
#EC8ECE #ECDB8E #8EECAC #8E9FEC
square
#EC8ECE #ECDB8E #8EECAC #8E9FEC
split-complementary
#EC8ECE #9FEC8E #8EECDB
monochromatic
#DA25A1 #E35AB7 #EC8ECE #F5C2E5 #FBE5F4

Accessibility & contrast

On white

2.25
#EC8ECE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#EC8ECE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8ECE
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8ECE#FFFFFF#000000##000000
##EC8ECE1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4D0
Deuteranopia (green-blind)
#AAB2CB
Tritanopia (blue-blind)
#F690A5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec8ece;
/* rgb */ color: rgb(236, 142, 206);
/* oklch */ color: oklch(76.4% 0.138 339.9);
Tailwind
colors: {
  custom: {
    50: '#f4b1dd',
    500: '#ec8ece',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ece;
$custom-light: #f4b1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ece",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 206
  },
  "hsl": {
    "h": 319.149,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76436,
    "c": 0.1379,
    "h": 339.9
  },
  "luminance": 0.41635
}

Semantic roles & 50–950 ramp

primary
#EC8ECE
secondary
#D9F2E1
accent
#D35012
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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