#EC5EB2#EC5EB2

#EC5EB2 is a light, vivid pink. Relative luminance 0.291; OKLCH L 68.8% C 0.196 H 346.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#EC5EB2
RGBrgb(236, 94, 178)
HSLhsl(325, 79%, 65%)
HSVhsv(325, 60%, 93%)
CMYKcmyk(0%, 60.2%, 24.6%, 7.5%)
CIE-LABlab(60.83, 63.18, -16.80)
CIE-LCHlch(60.83, 65.38, 345.11°)
OKLaboklab(68.8% 0.1906 -0.0443)
OKLCHoklch(68.8% 0.196 346.9)
XYZxyz(46.6323, 29.0571, 45.2635)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EB2 #5EEC98
analogous
#DF5EEC #EC5EB2 #EC5E6B
triadic
#EC5EB2 #B2EC5E #5EB2EC
tetradic
#EC5EB2 #ECDF5E #5EEC98 #5E6BEC
square
#EC5EB2 #ECDF5E #5EEC98 #5E6BEC
split-complementary
#EC5EB2 #6BEC5E #5EECDF
monochromatic
#BA1677 #E62798 #EC5EB2 #F295CC #F9CBE6

Accessibility & contrast

On white

3.08
#EC5EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#EC5EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5EB2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EB2#FFFFFF#000000##000000
##EC5EB21.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B5
Deuteranopia (green-blind)
#969CAF
Tritanopia (blue-blind)
#FB5B80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec5eb2;
/* rgb */ color: rgb(236, 94, 178);
/* oklch */ color: oklch(68.8% 0.196 346.9);
Tailwind
colors: {
  custom: {
    50: '#f693c9',
    500: '#ec5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5eb2;
$custom-light: #f693c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5eb2",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 324.507,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68803,
    "c": 0.19571,
    "h": 346.9
  },
  "luminance": 0.29053
}

Semantic roles & 50–950 ramp

primary
#EC5EB2
secondary
#BBEBCE
accent
#DB600A
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #EC5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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