#EC5EDF#EC5EDF

#EC5EDF is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.7% C 0.226 H 331.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#EC5EDF
RGBrgb(236, 94, 223)
HSLhsl(305, 79%, 65%)
HSVhsv(305, 60%, 93%)
CMYKcmyk(0%, 60.2%, 5.5%, 7.5%)
CIE-LABlab(62.65, 69.70, -39.50)
CIE-LCHlch(62.65, 80.12, 330.46°)
OKLaboklab(70.73% 0.1988 -0.1083)
OKLCHoklch(70.73% 0.226 331.4)
XYZxyz(51.9139, 31.1697, 73.0798)
Luminance0.3117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EDF #5EEC6B
analogous
#B25EEC #EC5EDF #EC5E98
triadic
#EC5EDF #DFEC5E #5EDFEC
tetradic
#EC5EDF #ECB25E #5EEC6B #5E98EC
square
#EC5EDF #ECB25E #5EEC6B #5E98EC
split-complementary
#EC5EDF #98EC5E #5EECB2
monochromatic
#BA16AB #E627D4 #EC5EDF #F295EA #F9CBF5

Accessibility & contrast

On white

2.90
#EC5EDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#EC5EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5EDF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EDF#FFFFFF#000000##000000
##EC5EDF1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#859FDB
Tritanopia (blue-blind)
#F56B96
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5edf;
/* rgb */ color: rgb(236, 94, 223);
/* oklch */ color: oklch(70.7% 0.226 331.4);
Tailwind
colors: {
  custom: {
    50: '#f594e9',
    500: '#ec5edf',
    950: '#000000',
  },
}
SCSS
$custom: #ec5edf;
$custom-light: #f594e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5edf",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 305.493,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70733,
    "c": 0.22636,
    "h": 331.4
  },
  "luminance": 0.31166
}

Semantic roles & 50–950 ramp

primary
#EC5EDF
secondary
#BBEBBF
accent
#DB1D0A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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