#EC4BA7#EC4BA7

#EC4BA7 is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.4% C 0.215 H 349.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#EC4BA7
RGBrgb(236, 75, 167)
HSLhsl(326, 81%, 61%)
HSVhsv(326, 68%, 93%)
CMYKcmyk(0%, 68.2%, 29.2%, 7.5%)
CIE-LABlab(57.71, 69.31, -15.17)
CIE-LCHlch(57.71, 70.95, 347.66°)
OKLaboklab(66.38% 0.2111 -0.0397)
OKLCHoklch(66.38% 0.215 349.4)
XYZxyz(44.0853, 25.6599, 39.1829)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4BA7 #4BEC90
analogous
#E04BEC #EC4BA7 #EC4B56
triadic
#EC4BA7 #A7EC4B #4BA7EC
tetradic
#EC4BA7 #ECE04B #4BEC90 #4B56EC
square
#EC4BA7 #ECE04B #4BEC90 #4B56EC
split-complementary
#EC4BA7 #56EC4B #4BECE0
monochromatic
#AB1269 #E2188B #EC4BA7 #F282C2 #F8BADD

Accessibility & contrast

On white

3.43
#EC4BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#EC4BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4BA7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4BA7#FFFFFF#000000##000000
##EC4BA71.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6279AA
Deuteranopia (green-blind)
#9095A3
Tritanopia (blue-blind)
#FD4373
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec4ba7;
/* rgb */ color: rgb(236, 75, 167);
/* oklch */ color: oklch(66.4% 0.215 349.4);
Tailwind
colors: {
  custom: {
    50: '#f789c1',
    500: '#ec4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #ec4ba7;
$custom-light: #f789c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4ba7",
  "rgb": {
    "r": 236,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 325.714,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66379,
    "c": 0.21475,
    "h": 349.4
  },
  "luminance": 0.25655
}

Semantic roles & 50–950 ramp

primary
#EC4BA7
secondary
#ABE8C5
accent
#DD6408
background
#FFF8FB
surface
#FFF0F7
border
#D7CBD0
text
#180C12
muted
#867D81

Preview Lab

Preview with #EC4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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