#EC8FC5#EC8FC5

#EC8FC5 is a light, vivid pink. Relative luminance 0.415; OKLCH L 76.3% C 0.130 H 344.8°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#EC8FC5
RGBrgb(236, 143, 197)
HSLhsl(325, 71%, 74%)
HSVhsv(325, 39%, 93%)
CMYKcmyk(0%, 39.4%, 16.5%, 7.5%)
CIE-LABlab(70.53, 42.38, -12.89)
CIE-LCHlch(70.53, 44.30, 343.09°)
OKLaboklab(76.27% 0.1254 -0.034)
OKLCHoklch(76.27% 0.13 344.8)
XYZxyz(54.4932, 41.5124, 57.9550)
Luminance0.4151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FC5 #8FECB6
analogous
#E48FEC #EC8FC5 #EC8F97
triadic
#EC8FC5 #C5EC8F #8FC5EC
tetradic
#EC8FC5 #ECE48F #8FECB6 #8F97EC
square
#EC8FC5 #ECE48F #8FECB6 #8F97EC
split-complementary
#EC8FC5 #97EC8F #8FECE4
monochromatic
#DA268F #E35BAA #EC8FC5 #F5C3E0 #FBE5F1

Accessibility & contrast

On white

2.26
#EC8FC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#EC8FC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FC5
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FC5#FFFFFF#000000##000000
##EC8FC51.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A3C7
Deuteranopia (green-blind)
#ADB2C3
Tritanopia (blue-blind)
#F78EA2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8fc5;
/* rgb */ color: rgb(236, 143, 197);
/* oklch */ color: oklch(76.3% 0.130 344.8);
Tailwind
colors: {
  custom: {
    50: '#f4b1d6',
    500: '#ec8fc5',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fc5;
$custom-light: #f4b1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fc5",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 197
  },
  "hsl": {
    "h": 325.161,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76272,
    "c": 0.12989,
    "h": 344.8
  },
  "luminance": 0.41509
}

Semantic roles & 50–950 ramp

primary
#EC8FC5
secondary
#D9F2E3
accent
#D36312
background
#FFFBFD
surface
#FEF6FA
border
#D6D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EC8FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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