#EC4BA5#EC4BA5

#EC4BA5 is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.3% C 0.214 H 350.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#EC4BA5
RGBrgb(236, 75, 165)
HSLhsl(326, 81%, 61%)
HSVhsv(326, 68%, 93%)
CMYKcmyk(0%, 68.2%, 30.1%, 7.5%)
CIE-LABlab(57.64, 69.08, -14.11)
CIE-LCHlch(57.64, 70.50, 348.46°)
OKLaboklab(66.3% 0.2106 -0.0368)
OKLCHoklch(66.3% 0.214 350.1)
XYZxyz(43.9019, 25.5865, 38.2167)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4BA5 #4BEC92
analogous
#E34BEC #EC4BA5 #EC4B54
triadic
#EC4BA5 #A5EC4B #4BA5EC
tetradic
#EC4BA5 #ECE34B #4BEC92 #4B54EC
square
#EC4BA5 #ECE34B #4BEC92 #4B54EC
split-complementary
#EC4BA5 #54EC4B #4BECE3
monochromatic
#AB1267 #E21889 #EC4BA5 #F282C1 #F8BADC

Accessibility & contrast

On white

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

On black

6.12
#EC4BA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4BA5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4BA5#FFFFFF#000000##000000
##EC4BA51.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6378A8
Deuteranopia (green-blind)
#9195A1
Tritanopia (blue-blind)
#FD4272
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec4ba5;
/* rgb */ color: rgb(236, 75, 165);
/* oklch */ color: oklch(66.3% 0.214 350.1);
Tailwind
colors: {
  custom: {
    50: '#f789bf',
    500: '#ec4ba5',
    950: '#000000',
  },
}
SCSS
$custom: #ec4ba5;
$custom-light: #f789bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4ba5",
  "rgb": {
    "r": 236,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 326.46,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66304,
    "c": 0.21376,
    "h": 350.1
  },
  "luminance": 0.25582
}

Semantic roles & 50–950 ramp

primary
#EC4BA5
secondary
#ABE8C6
accent
#DD6608
background
#FFF8FB
surface
#FFF0F7
border
#D7CBD0
text
#180C12
muted
#867D81

Preview Lab

Preview with #EC4BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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