#EC7EC0#EC7EC0

#EC7EC0 is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.5% C 0.155 H 344.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#EC7EC0
RGBrgb(236, 126, 192)
HSLhsl(324, 74%, 71%)
HSVhsv(324, 47%, 93%)
CMYKcmyk(0%, 46.6%, 18.6%, 7.5%)
CIE-LABlab(66.95, 50.27, -15.49)
CIE-LCHlch(66.95, 52.60, 342.87°)
OKLaboklab(73.52% 0.1495 -0.0409)
OKLCHoklch(73.52% 0.155 344.7)
XYZxyz(51.5683, 36.5641, 54.2005)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EC0 #7EECAA
analogous
#E17EEC #EC7EC0 #EC7E89
triadic
#EC7EC0 #C0EC7E #7EC0EC
tetradic
#EC7EC0 #ECE17E #7EECAA #7E89EC
square
#EC7EC0 #ECE17E #7EECAA #7E89EC
split-complementary
#EC7EC0 #89EC7E #7EECE1
monochromatic
#D11F8A #E449A6 #EC7EC0 #F4B3DA #FBE4F2

Accessibility & contrast

On white

2.53
#EC7EC0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#EC7EC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EC0
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EC0#FFFFFF#000000##000000
##EC7EC01.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8698C2
Deuteranopia (green-blind)
#A3AABD
Tritanopia (blue-blind)
#F87D97
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7ec0;
/* rgb */ color: rgb(236, 126, 192);
/* oklch */ color: oklch(73.5% 0.155 344.7);
Tailwind
colors: {
  custom: {
    50: '#f4a6d3',
    500: '#ec7ec0',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ec0;
$custom-light: #f4a6d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ec0",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 324,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73517,
    "c": 0.15498,
    "h": 344.7
  },
  "luminance": 0.3656
}

Semantic roles & 50–950 ramp

primary
#EC7EC0
secondary
#D4F2E0
accent
#D65F0F
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171014
muted
#857F82

Preview Lab

Preview with #EC7EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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