#EC4FAB#EC4FAB

#EC4FAB is a light, highly saturated pink. Relative luminance 0.264; OKLCH L 66.9% C 0.212 H 348.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#EC4FAB
RGBrgb(236, 79, 171)
HSLhsl(325, 81%, 62%)
HSVhsv(325, 67%, 93%)
CMYKcmyk(0%, 66.5%, 27.5%, 7.5%)
CIE-LABlab(58.39, 68.32, -16.47)
CIE-LCHlch(58.39, 70.27, 346.45°)
OKLaboklab(66.92% 0.2075 -0.0433)
OKLCHoklch(66.92% 0.212 348.2)
XYZxyz(44.7407, 26.3698, 41.2539)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4FAB #4FEC90
analogous
#DF4FEC #EC4FAB #EC4F5D
triadic
#EC4FAB #ABEC4F #4FABEC
tetradic
#EC4FAB #ECDF4F #4FEC90 #4F5DEC
square
#EC4FAB #ECDF4F #4FEC90 #4F5DEC
split-complementary
#EC4FAB #5DEC4F #4FECDF
monochromatic
#AE136E #E51990 #EC4FAB #F286C5 #F8BDE0

Accessibility & contrast

On white

3.35
#EC4FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#EC4FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4FAB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4FAB#FFFFFF#000000##000000
##EC4FAB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#647BAE
Deuteranopia (green-blind)
#9196A7
Tritanopia (blue-blind)
#FC4976
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec4fab;
/* rgb */ color: rgb(236, 79, 171);
/* oklch */ color: oklch(66.9% 0.212 348.2);
Tailwind
colors: {
  custom: {
    50: '#f68bc4',
    500: '#ec4fab',
    950: '#000000',
  },
}
SCSS
$custom: #ec4fab;
$custom-light: #f68bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4fab",
  "rgb": {
    "r": 236,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 324.841,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6692,
    "c": 0.21191,
    "h": 348.2
  },
  "luminance": 0.26365
}

Semantic roles & 50–950 ramp

primary
#EC4FAB
secondary
#AEE8C6
accent
#DD6109
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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