#EC5F8B#EC5F8B

#EC5F8B is a light, vivid pink. Relative luminance 0.279; OKLCH L 67.6% C 0.178 H 3.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#EC5F8B
RGBrgb(236, 95, 139)
HSLhsl(341, 79%, 65%)
HSVhsv(341, 60%, 93%)
CMYKcmyk(0%, 59.7%, 41.1%, 7.5%)
CIE-LABlab(59.79, 58.20, 4.21)
CIE-LCHlch(59.79, 58.36, 4.14°)
OKLaboklab(67.63% 0.1775 0.0116)
OKLCHoklch(67.63% 0.178 3.7)
XYZxyz(43.3473, 27.8863, 27.5209)
Luminance0.2788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F8B #5FECC0
analogous
#EC5FD1 #EC5F8B #EC7A5F
triadic
#EC5F8B #8BEC5F #5F8BEC
tetradic
#EC5F8B #D1EC5F #5FECC0 #7A5FEC
square
#EC5F8B #D1EC5F #5FECC0 #7A5FEC
split-complementary
#EC5F8B #5FEC7A #5FD1EC
monochromatic
#BA1649 #E62863 #EC5F8B #F296B3 #F9CCDA

Accessibility & contrast

On white

3.19
#EC5F8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#EC5F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F8B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F8B#FFFFFF#000000##000000
##EC5F8B1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7F8C
Deuteranopia (green-blind)
#9F9A88
Tritanopia (blue-blind)
#FF4F70
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5f8b;
/* rgb */ color: rgb(236, 95, 139);
/* oklch */ color: oklch(67.6% 0.178 3.7);
Tailwind
colors: {
  custom: {
    50: '#f793ac',
    500: '#ec5f8b',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f8b;
$custom-light: #f793ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f8b",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 139
  },
  "hsl": {
    "h": 341.277,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6763,
    "c": 0.17788,
    "h": 3.7
  },
  "luminance": 0.27881
}

Semantic roles & 50–950 ramp

primary
#EC5F8B
secondary
#BBEBDC
accent
#DB9A0A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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