#EC48C2#EC48C2

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

Color values

HEX#EC48C2
RGBrgb(236, 72, 194)
HSLhsl(315, 81%, 60%)
HSVhsv(315, 69%, 93%)
CMYKcmyk(0%, 69.5%, 17.8%, 7.5%)
CIE-LABlab(58.38, 73.78, -29.73)
CIE-LCHlch(58.38, 79.54, 338.05°)
OKLaboklab(67.21% 0.2196 -0.0802)
OKLCHoklch(67.21% 0.234 339.9)
XYZxyz(46.6482, 26.3671, 53.6611)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC48C2 #48EC72
analogous
#C448EC #EC48C2 #EC4870
triadic
#EC48C2 #C2EC48 #48C2EC
tetradic
#EC48C2 #ECC448 #48EC72 #4870EC
square
#EC48C2 #ECC448 #48EC72 #4870EC
split-complementary
#EC48C2 #70EC48 #48ECC4
monochromatic
#A81182 #E017AC #EC48C2 #F27FD4 #F8B7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC48C2#FFFFFF#000000##000000
##EC48C21.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)
#527CC5
Deuteranopia (green-blind)
#8796BE
Tritanopia (blue-blind)
#FA4D7F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec48c2;
/* rgb */ color: rgb(236, 72, 194);
/* oklch */ color: oklch(67.2% 0.234 339.9);
Tailwind
colors: {
  custom: {
    50: '#f688d4',
    500: '#ec48c2',
    950: '#000000',
  },
}
SCSS
$custom: #ec48c2;
$custom-light: #f688d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec48c2",
  "rgb": {
    "r": 236,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 315.366,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67212,
    "c": 0.23383,
    "h": 339.9
  },
  "luminance": 0.26363
}

Semantic roles & 50–950 ramp

primary
#EC48C2
secondary
#A9E7B9
accent
#DE3F08
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83

Preview Lab

Preview with #EC48C2

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

Preview Lab → · Contrast checker → · Palette generator →

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