#EC8FD2#EC8FD2

#EC8FD2 is a light, vivid pink. Relative luminance 0.421; OKLCH L 76.7% C 0.139 H 338.1°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#EC8FD2
RGBrgb(236, 143, 210)
HSLhsl(317, 71%, 74%)
HSVhsv(317, 39%, 93%)
CMYKcmyk(0%, 39.4%, 11%, 7.5%)
CIE-LABlab(70.96, 44.44, -19.45)
CIE-LCHlch(70.96, 48.51, 336.37°)
OKLaboklab(76.74% 0.1291 -0.052)
OKLCHoklch(76.74% 0.139 338.1)
XYZxyz(56.0474, 42.1341, 66.1408)
Luminance0.4213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FD2 #8FECA9
analogous
#D78FEC #EC8FD2 #EC8FA4
triadic
#EC8FD2 #D2EC8F #8FD2EC
tetradic
#EC8FD2 #ECD78F #8FECA9 #8FA4EC
square
#EC8FD2 #ECD78F #8FECA9 #8FA4EC
split-complementary
#EC8FD2 #A4EC8F #8FECD7
monochromatic
#DA26A8 #E35BBD #EC8FD2 #F5C3E7 #FBE5F4

Accessibility & contrast

On white

2.23
#EC8FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#EC8FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FD2
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FD2#FFFFFF#000000##000000
##EC8FD21.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A5D4
Deuteranopia (green-blind)
#A9B3CF
Tritanopia (blue-blind)
#F591A8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec8fd2;
/* rgb */ color: rgb(236, 143, 210);
/* oklch */ color: oklch(76.7% 0.139 338.1);
Tailwind
colors: {
  custom: {
    50: '#f4b1e0',
    500: '#ec8fd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fd2;
$custom-light: #f4b1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fd2",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 316.774,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76739,
    "c": 0.13923,
    "h": 338.1
  },
  "luminance": 0.42131
}

Semantic roles & 50–950 ramp

primary
#EC8FD2
secondary
#D9F2E0
accent
#D34812
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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