#EC5A8F#EC5A8F

#EC5A8F is a light, vivid pink. Relative luminance 0.271; OKLCH L 67.2% C 0.186 H 0.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#EC5A8F
RGBrgb(236, 90, 143)
HSLhsl(338, 79%, 64%)
HSVhsv(338, 62%, 93%)
CMYKcmyk(0%, 61.9%, 39.4%, 7.5%)
CIE-LABlab(59.10, 60.76, 0.88)
CIE-LCHlch(59.10, 60.77, 0.83°)
OKLaboklab(67.15% 0.1856 0.003)
OKLCHoklch(67.15% 0.186 0.9)
XYZxyz(43.2089, 27.1333, 28.9431)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A8F #5AECB7
analogous
#EC5AD8 #EC5A8F #EC6E5A
triadic
#EC5A8F #8FEC5A #5A8FEC
tetradic
#EC5A8F #D8EC5A #5AECB7 #6E5AEC
square
#EC5A8F #D8EC5A #5AECB7 #6E5AEC
split-complementary
#EC5A8F #5AEC6E #5AD8EC
monochromatic
#B71550 #E6236A #EC5A8F #F291B4 #F9C8DA

Accessibility & contrast

On white

3.27
#EC5A8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#EC5A8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A8F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A8F#FFFFFF#000000##000000
##EC5A8F1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#757D90
Deuteranopia (green-blind)
#9C998C
Tritanopia (blue-blind)
#FF4B6F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5a8f;
/* rgb */ color: rgb(236, 90, 143);
/* oklch */ color: oklch(67.2% 0.186 0.9);
Tailwind
colors: {
  custom: {
    50: '#f790af',
    500: '#ec5a8f',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a8f;
$custom-light: #f790af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a8f",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 143
  },
  "hsl": {
    "h": 338.219,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67153,
    "c": 0.18563,
    "h": 0.9
  },
  "luminance": 0.27128
}

Semantic roles & 50–950 ramp

primary
#EC5A8F
secondary
#B7EBD8
accent
#DC8F0A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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