#EC8FD4#EC8FD4

#EC8FD4 is a light, vivid pink. Relative luminance 0.422; OKLCH L 76.8% C 0.141 H 337.1°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#EC8FD4
RGBrgb(236, 143, 212)
HSLhsl(315, 71%, 74%)
HSVhsv(315, 39%, 93%)
CMYKcmyk(0%, 39.4%, 10.2%, 7.5%)
CIE-LABlab(71.03, 44.77, -20.45)
CIE-LCHlch(71.03, 49.22, 335.45°)
OKLaboklab(76.81% 0.1297 -0.0548)
OKLCHoklch(76.81% 0.141 337.1)
XYZxyz(56.2982, 42.2344, 67.4613)
Luminance0.4223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FD4 #8FECA7
analogous
#D68FEC #EC8FD4 #EC8FA6
triadic
#EC8FD4 #D4EC8F #8FD4EC
tetradic
#EC8FD4 #ECD68F #8FECA7 #8FA6EC
square
#EC8FD4 #ECD68F #8FECA7 #8FA6EC
split-complementary
#EC8FD4 #A6EC8F #8FECD6
monochromatic
#DA26AC #E35BC0 #EC8FD4 #F5C3E8 #FBE5F5

Accessibility & contrast

On white

2.22
#EC8FD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#EC8FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FD4
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FD4#FFFFFF#000000##000000
##EC8FD41.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A5D7
Deuteranopia (green-blind)
#A9B3D1
Tritanopia (blue-blind)
#F592A8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec8fd4;
/* rgb */ color: rgb(236, 143, 212);
/* oklch */ color: oklch(76.8% 0.141 337.1);
Tailwind
colors: {
  custom: {
    50: '#f4b1e1',
    500: '#ec8fd4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fd4;
$custom-light: #f4b1e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fd4",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 212
  },
  "hsl": {
    "h": 315.484,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76814,
    "c": 0.1408,
    "h": 337.1
  },
  "luminance": 0.42231
}

Semantic roles & 50–950 ramp

primary
#EC8FD4
secondary
#D9F2DF
accent
#D34412
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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