#EC8FD3#EC8FD3

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

Color values

HEX#EC8FD3
RGBrgb(236, 143, 211)
HSLhsl(316, 71%, 74%)
HSVhsv(316, 39%, 93%)
CMYKcmyk(0%, 39.4%, 10.6%, 7.5%)
CIE-LABlab(71.00, 44.61, -19.95)
CIE-LCHlch(71.00, 48.86, 335.91°)
OKLaboklab(76.78% 0.1294 -0.0534)
OKLCHoklch(76.78% 0.14 337.6)
XYZxyz(56.1724, 42.1841, 66.7990)
Luminance0.4218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FD3 #8FECA8
analogous
#D78FEC #EC8FD3 #EC8FA5
triadic
#EC8FD3 #D3EC8F #8FD3EC
tetradic
#EC8FD3 #ECD78F #8FECA8 #8FA5EC
square
#EC8FD3 #ECD78F #8FECA8 #8FA5EC
split-complementary
#EC8FD3 #A5EC8F #8FECD7
monochromatic
#DA26AA #E35BBE #EC8FD3 #F5C3E8 #FBE5F5

Accessibility & contrast

On white

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

On black

9.44
#EC8FD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FD3
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FD3#FFFFFF#000000##000000
##EC8FD31.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec8fd3;
/* rgb */ color: rgb(236, 143, 211);
/* oklch */ color: oklch(76.8% 0.140 337.6);
Tailwind
colors: {
  custom: {
    50: '#f4b1e0',
    500: '#ec8fd3',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fd3;
$custom-light: #f4b1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fd3",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 211
  },
  "hsl": {
    "h": 316.129,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76776,
    "c": 0.14,
    "h": 337.6
  },
  "luminance": 0.42181
}

Semantic roles & 50–950 ramp

primary
#EC8FD3
secondary
#D9F2E0
accent
#D34612
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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