#EC7DC2#EC7DC2

#EC7DC2 is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.4% C 0.158 H 343.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#EC7DC2
RGBrgb(236, 125, 194)
HSLhsl(323, 74%, 71%)
HSVhsv(323, 47%, 93%)
CMYKcmyk(0%, 47%, 17.8%, 7.5%)
CIE-LABlab(66.82, 51.06, -16.80)
CIE-LCHlch(66.82, 53.75, 341.78°)
OKLaboklab(73.45% 0.1515 -0.0445)
OKLCHoklch(73.45% 0.158 343.6)
XYZxyz(51.6642, 36.3989, 55.3331)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DC2 #7DECA7
analogous
#DF7DEC #EC7DC2 #EC7D8A
triadic
#EC7DC2 #C2EC7D #7DC2EC
tetradic
#EC7DC2 #ECDF7D #7DECA7 #7D8AEC
square
#EC7DC2 #ECDF7D #7DECA7 #7D8AEC
split-complementary
#EC7DC2 #8AEC7D #7DECDF
monochromatic
#D01E8D #E448A9 #EC7DC2 #F4B2DB #FBE4F2

Accessibility & contrast

On white

2.54
#EC7DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#EC7DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DC2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DC2#FFFFFF#000000##000000
##EC7DC21.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8597C4
Deuteranopia (green-blind)
#A2A9BF
Tritanopia (blue-blind)
#F87D97
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7dc2;
/* rgb */ color: rgb(236, 125, 194);
/* oklch */ color: oklch(73.4% 0.158 343.6);
Tailwind
colors: {
  custom: {
    50: '#f4a6d4',
    500: '#ec7dc2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dc2;
$custom-light: #f4a6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dc2",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 322.703,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73445,
    "c": 0.15791,
    "h": 343.6
  },
  "luminance": 0.36395
}

Semantic roles & 50–950 ramp

primary
#EC7DC2
secondary
#D3F1DF
accent
#D75A0F
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC7DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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