#EC7EC7#EC7EC7

#EC7EC7 is a light, vivid pink. Relative luminance 0.369; OKLCH L 73.8% C 0.160 H 341.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#EC7EC7
RGBrgb(236, 126, 199)
HSLhsl(320, 74%, 71%)
HSVhsv(320, 47%, 93%)
CMYKcmyk(0%, 46.6%, 15.7%, 7.5%)
CIE-LABlab(67.19, 51.32, -19.05)
CIE-LCHlch(67.19, 54.74, 339.63°)
OKLaboklab(73.78% 0.1514 -0.0508)
OKLCHoklch(73.78% 0.16 341.5)
XYZxyz(52.3624, 36.8818, 58.3827)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EC7 #7EECA3
analogous
#DA7EEC #EC7EC7 #EC7E90
triadic
#EC7EC7 #C7EC7E #7EC7EC
tetradic
#EC7EC7 #ECDA7E #7EECA3 #7E90EC
square
#EC7EC7 #ECDA7E #7EECA3 #7E90EC
split-complementary
#EC7EC7 #90EC7E #7EECDA
monochromatic
#D11F95 #E449B0 #EC7EC7 #F4B3DE #FBE4F3

Accessibility & contrast

On white

2.51
#EC7EC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#EC7EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EC7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EC7#FFFFFF#000000##000000
##EC7EC71.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8499CA
Deuteranopia (green-blind)
#A1AAC4
Tritanopia (blue-blind)
#F87F9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7ec7;
/* rgb */ color: rgb(236, 126, 199);
/* oklch */ color: oklch(73.8% 0.160 341.5);
Tailwind
colors: {
  custom: {
    50: '#f4a6d8',
    500: '#ec7ec7',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ec7;
$custom-light: #f4a6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ec7",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 320.182,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73775,
    "c": 0.15967,
    "h": 341.5
  },
  "luminance": 0.36878
}

Semantic roles & 50–950 ramp

primary
#EC7EC7
secondary
#D4F2DE
accent
#D6520F
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC7EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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