#EC8AC2#EC8AC2

#EC8AC2 is a light, vivid pink. Relative luminance 0.399; OKLCH L 75.4% C 0.136 H 345.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#EC8AC2
RGBrgb(236, 138, 194)
HSLhsl(326, 72%, 73%)
HSVhsv(326, 42%, 93%)
CMYKcmyk(0%, 41.5%, 17.8%, 7.5%)
CIE-LABlab(69.40, 44.50, -12.91)
CIE-LCHlch(69.40, 46.34, 343.82°)
OKLaboklab(75.39% 0.1321 -0.034)
OKLCHoklch(75.39% 0.136 345.6)
XYZxyz(53.4189, 39.9084, 55.9180)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8AC2 #8AECB4
analogous
#E58AEC #EC8AC2 #EC8A91
triadic
#EC8AC2 #C2EC8A #8AC2EC
tetradic
#EC8AC2 #ECE58A #8AECB4 #8A91EC
square
#EC8AC2 #ECE58A #8AECB4 #8A91EC
split-complementary
#EC8AC2 #91EC8A #8AECE5
monochromatic
#D8238B #E355A7 #EC8AC2 #F5BFDD #FBE5F1

Accessibility & contrast

On white

2.34
#EC8AC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#EC8AC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8AC2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8AC2#FFFFFF#000000##000000
##EC8AC21.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A0C4
Deuteranopia (green-blind)
#AAB0BF
Tritanopia (blue-blind)
#F8899E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec8ac2;
/* rgb */ color: rgb(236, 138, 194);
/* oklch */ color: oklch(75.4% 0.136 345.6);
Tailwind
colors: {
  custom: {
    50: '#f4aed4',
    500: '#ec8ac2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ac2;
$custom-light: #f4aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ac2",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 194
  },
  "hsl": {
    "h": 325.714,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75387,
    "c": 0.13637,
    "h": 345.6
  },
  "luminance": 0.39905
}

Semantic roles & 50–950 ramp

primary
#EC8AC2
secondary
#D9F2E4
accent
#D46511
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC8AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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