#EC5DA2#EC5DA2

#EC5DA2 is a light, vivid pink. Relative luminance 0.283; OKLCH L 68.1% C 0.189 H 353.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#EC5DA2
RGBrgb(236, 93, 162)
HSLhsl(331, 79%, 65%)
HSVhsv(331, 61%, 93%)
CMYKcmyk(0%, 60.6%, 31.4%, 7.5%)
CIE-LABlab(60.14, 61.61, -8.62)
CIE-LCHlch(60.14, 62.21, 352.03°)
OKLaboklab(68.11% 0.1876 -0.022)
OKLCHoklch(68.11% 0.189 353.3)
XYZxyz(45.0302, 28.2749, 37.2616)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5DA2 #5DECA7
analogous
#EC5DEA #EC5DA2 #EC605D
triadic
#EC5DA2 #A2EC5D #5DA2EC
tetradic
#EC5DA2 #EAEC5D #5DECA7 #605DEC
square
#EC5DA2 #EAEC5D #5DECA7 #605DEC
split-complementary
#EC5DA2 #5DEC60 #5DEAEC
monochromatic
#B91664 #E62683 #EC5DA2 #F294C1 #F9CBE1

Accessibility & contrast

On white

3.16
#EC5DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#EC5DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5DA2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5DA2#FFFFFF#000000##000000
##EC5DA21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7281A4
Deuteranopia (green-blind)
#999B9F
Tritanopia (blue-blind)
#FD5478
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5da2;
/* rgb */ color: rgb(236, 93, 162);
/* oklch */ color: oklch(68.1% 0.189 353.3);
Tailwind
colors: {
  custom: {
    50: '#f692bd',
    500: '#ec5da2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5da2;
$custom-light: #f692bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5da2",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 331.049,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68111,
    "c": 0.18889,
    "h": 353.3
  },
  "luminance": 0.2827
}

Semantic roles & 50–950 ramp

primary
#EC5DA2
secondary
#BAEBD3
accent
#DB760A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC5DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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