#EC5D8F#EC5D8F

#EC5D8F is a light, vivid pink. Relative luminance 0.276; OKLCH L 67.5% C 0.182 H 1.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#EC5D8F
RGBrgb(236, 93, 143)
HSLhsl(339, 79%, 65%)
HSVhsv(339, 61%, 93%)
CMYKcmyk(0%, 60.6%, 39.4%, 7.5%)
CIE-LABlab(59.57, 59.49, 1.57)
CIE-LCHlch(59.57, 59.51, 1.51°)
OKLaboklab(67.51% 0.1816 0.0048)
OKLCHoklch(67.51% 0.182 1.5)
XYZxyz(43.4671, 27.6496, 29.0291)
Luminance0.2764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5D8F #5DECBA
analogous
#EC5DD7 #EC5D8F #EC735D
triadic
#EC5D8F #8FEC5D #5D8FEC
tetradic
#EC5D8F #D7EC5D #5DECBA #735DEC
square
#EC5D8F #D7EC5D #5DECBA #735DEC
split-complementary
#EC5D8F #5DEC73 #5DD7EC
monochromatic
#B9164F #E62669 #EC5D8F #F294B5 #F9CBDB

Accessibility & contrast

On white

3.22
#EC5D8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#EC5D8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5D8F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5D8F#FFFFFF#000000##000000
##EC5D8F1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#787E90
Deuteranopia (green-blind)
#9E9A8C
Tritanopia (blue-blind)
#FF4E70
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5d8f;
/* rgb */ color: rgb(236, 93, 143);
/* oklch */ color: oklch(67.5% 0.182 1.5);
Tailwind
colors: {
  custom: {
    50: '#f791af',
    500: '#ec5d8f',
    950: '#000000',
  },
}
SCSS
$custom: #ec5d8f;
$custom-light: #f791af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5d8f",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 143
  },
  "hsl": {
    "h": 339.021,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67505,
    "c": 0.18165,
    "h": 1.5
  },
  "luminance": 0.27645
}

Semantic roles & 50–950 ramp

primary
#EC5D8F
secondary
#BAEBDA
accent
#DB920A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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