#EC7AC8#EC7AC8

#EC7AC8 is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.2% C 0.167 H 340.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#EC7AC8
RGBrgb(236, 122, 200)
HSLhsl(319, 75%, 70%)
HSVhsv(319, 48%, 93%)
CMYKcmyk(0%, 48.3%, 15.3%, 7.5%)
CIE-LABlab(66.46, 53.44, -20.72)
CIE-LCHlch(66.46, 57.31, 338.81°)
OKLaboklab(73.24% 0.1575 -0.0554)
OKLCHoklch(73.24% 0.167 340.6)
XYZxyz(51.9776, 35.9258, 58.8291)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AC8 #7AEC9E
analogous
#D77AEC #EC7AC8 #EC7A8F
triadic
#EC7AC8 #C8EC7A #7AC8EC
tetradic
#EC7AC8 #ECD77A #7AEC9E #7A8FEC
square
#EC7AC8 #ECD77A #7AEC9E #7A8FEC
split-complementary
#EC7AC8 #8FEC7A #7AECD7
monochromatic
#CE1D96 #E444B2 #EC7AC8 #F4B0DE #FBE4F4

Accessibility & contrast

On white

2.57
#EC7AC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#EC7AC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AC8
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AC8#FFFFFF#000000##000000
##EC7AC81.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8096CB
Deuteranopia (green-blind)
#9EA8C5
Tritanopia (blue-blind)
#F87C98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7ac8;
/* rgb */ color: rgb(236, 122, 200);
/* oklch */ color: oklch(73.2% 0.167 340.6);
Tailwind
colors: {
  custom: {
    50: '#f4a4d8',
    500: '#ec7ac8',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ac8;
$custom-light: #f4a4d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ac8",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 318.947,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73244,
    "c": 0.1669,
    "h": 340.6
  },
  "luminance": 0.35922
}

Semantic roles & 50–950 ramp

primary
#EC7AC8
secondary
#D1F1DB
accent
#D74E0E
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC7AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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