#EC48C5#EC48C5

#EC48C5 is a light, highly saturated pink. Relative luminance 0.265; OKLCH L 67.3% C 0.236 H 339.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#EC48C5
RGBrgb(236, 72, 197)
HSLhsl(314, 81%, 60%)
HSVhsv(314, 69%, 93%)
CMYKcmyk(0%, 69.5%, 16.5%, 7.5%)
CIE-LABlab(58.51, 74.18, -31.25)
CIE-LCHlch(58.51, 80.50, 337.16°)
OKLaboklab(67.35% 0.2201 -0.0845)
OKLCHoklch(67.35% 0.236 339)
XYZxyz(46.9886, 26.5032, 55.4534)
Luminance0.2650 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC48C5 #48EC6F
analogous
#C148EC #EC48C5 #EC4873
triadic
#EC48C5 #C5EC48 #48C5EC
tetradic
#EC48C5 #ECC148 #48EC6F #4873EC
square
#EC48C5 #ECC148 #48EC6F #4873EC
split-complementary
#EC48C5 #73EC48 #48ECC1
monochromatic
#A81184 #E017B0 #EC48C5 #F27FD7 #F8B7E8

Accessibility & contrast

On white

3.33
#EC48C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#EC48C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC48C5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC48C5#FFFFFF#000000##000000
##EC48C51.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#517CC9
Deuteranopia (green-blind)
#8696C1
Tritanopia (blue-blind)
#F94E81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec48c5;
/* rgb */ color: rgb(236, 72, 197);
/* oklch */ color: oklch(67.3% 0.236 339.0);
Tailwind
colors: {
  custom: {
    50: '#f688d7',
    500: '#ec48c5',
    950: '#000000',
  },
}
SCSS
$custom: #ec48c5;
$custom-light: #f688d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec48c5",
  "rgb": {
    "r": 236,
    "g": 72,
    "b": 197
  },
  "hsl": {
    "h": 314.268,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67346,
    "c": 0.23574,
    "h": 339
  },
  "luminance": 0.26499
}

Semantic roles & 50–950 ramp

primary
#EC48C5
secondary
#A9E7B7
accent
#DE3B08
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180D14
muted
#867D83

Preview Lab

Preview with #EC48C5

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

Preview Lab → · Contrast checker → · Palette generator →

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