#EC7EC2#EC7EC2

#EC7EC2 is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.6% C 0.156 H 343.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#EC7EC2
RGBrgb(236, 126, 194)
HSLhsl(323, 74%, 71%)
HSVhsv(323, 47%, 93%)
CMYKcmyk(0%, 46.6%, 17.8%, 7.5%)
CIE-LABlab(67.02, 50.56, -16.51)
CIE-LCHlch(67.02, 53.19, 341.92°)
OKLaboklab(73.59% 0.15 -0.0438)
OKLCHoklch(73.59% 0.156 343.7)
XYZxyz(51.7914, 36.6534, 55.3755)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EC2 #7EECA8
analogous
#DF7EEC #EC7EC2 #EC7E8B
triadic
#EC7EC2 #C2EC7E #7EC2EC
tetradic
#EC7EC2 #ECDF7E #7EECA8 #7E8BEC
square
#EC7EC2 #ECDF7E #7EECA8 #7E8BEC
split-complementary
#EC7EC2 #8BEC7E #7EECDF
monochromatic
#D11F8D #E449A9 #EC7EC2 #F4B3DB #FBE4F2

Accessibility & contrast

On white

2.52
#EC7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#EC7EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EC2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EC2#FFFFFF#000000##000000
##EC7EC21.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8698C4
Deuteranopia (green-blind)
#A3AABF
Tritanopia (blue-blind)
#F87E98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7ec2;
/* rgb */ color: rgb(236, 126, 194);
/* oklch */ color: oklch(73.6% 0.156 343.7);
Tailwind
colors: {
  custom: {
    50: '#f4a6d4',
    500: '#ec7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ec2;
$custom-light: #f4a6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ec2",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 322.909,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7359,
    "c": 0.15627,
    "h": 343.7
  },
  "luminance": 0.3665
}

Semantic roles & 50–950 ramp

primary
#EC7EC2
secondary
#D4F2DF
accent
#D65B0F
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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