#EC64B2#EC64B2

#EC64B2 is a light, vivid pink. Relative luminance 0.302; OKLCH L 69.5% C 0.187 H 347.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#EC64B2
RGBrgb(236, 100, 178)
HSLhsl(326, 78%, 66%)
HSVhsv(326, 58%, 93%)
CMYKcmyk(0%, 57.6%, 24.6%, 7.5%)
CIE-LABlab(61.80, 60.58, -15.34)
CIE-LCHlch(61.80, 62.49, 345.79°)
OKLaboklab(69.52% 0.1827 -0.0403)
OKLCHoklch(69.52% 0.187 347.6)
XYZxyz(47.1868, 30.1660, 45.4483)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC64B2 #64EC9E
analogous
#E264EC #EC64B2 #EC646E
triadic
#EC64B2 #B2EC64 #64B2EC
tetradic
#EC64B2 #ECE264 #64EC9E #646EEC
square
#EC64B2 #ECE264 #64EC9E #646EEC
split-complementary
#EC64B2 #6EEC64 #64ECE2
monochromatic
#BE1777 #E52D97 #EC64B2 #F39BCD #F9D1E8

Accessibility & contrast

On white

2.99
#EC64B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#EC64B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC64B2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC64B2#FFFFFF#000000##000000
##EC64B21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B4
Deuteranopia (green-blind)
#999EAF
Tritanopia (blue-blind)
#FB6183
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec64b2;
/* rgb */ color: rgb(236, 100, 178);
/* oklch */ color: oklch(69.5% 0.187 347.6);
Tailwind
colors: {
  custom: {
    50: '#f596c9',
    500: '#ec64b2',
    950: '#000000',
  },
}
SCSS
$custom: #ec64b2;
$custom-light: #f596c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec64b2",
  "rgb": {
    "r": 236,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 325.588,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69517,
    "c": 0.18706,
    "h": 347.6
  },
  "luminance": 0.30162
}

Semantic roles & 50–950 ramp

primary
#EC64B2
secondary
#BFECD3
accent
#DA640B
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #EC64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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