#EC5FBA#EC5FBA

#EC5FBA is a light, vivid pink. Relative luminance 0.296; OKLCH L 69.2% C 0.199 H 343.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#EC5FBA
RGBrgb(236, 95, 186)
HSLhsl(321, 79%, 65%)
HSVhsv(321, 60%, 93%)
CMYKcmyk(0%, 59.7%, 21.2%, 7.5%)
CIE-LABlab(61.28, 63.82, -20.70)
CIE-LCHlch(61.28, 67.09, 342.03°)
OKLaboklab(69.23% 0.1913 -0.0551)
OKLCHoklch(69.23% 0.199 343.9)
XYZxyz(47.5486, 29.5668, 49.6476)
Luminance0.2956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FBA #5FEC91
analogous
#D85FEC #EC5FBA #EC5F73
triadic
#EC5FBA #BAEC5F #5FBAEC
tetradic
#EC5FBA #ECD85F #5FEC91 #5F73EC
square
#EC5FBA #ECD85F #5FEC91 #5F73EC
split-complementary
#EC5FBA #73EC5F #5FECD8
monochromatic
#BA1680 #E628A2 #EC5FBA #F296D2 #F9CCE9

Accessibility & contrast

On white

3.04
#EC5FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#EC5FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5FBA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FBA#FFFFFF#000000##000000
##EC5FBA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B85BD
Deuteranopia (green-blind)
#949DB7
Tritanopia (blue-blind)
#FA5F84
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec5fba;
/* rgb */ color: rgb(236, 95, 186);
/* oklch */ color: oklch(69.2% 0.199 343.9);
Tailwind
colors: {
  custom: {
    50: '#f693cf',
    500: '#ec5fba',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fba;
$custom-light: #f693cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fba",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 321.277,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69228,
    "c": 0.19902,
    "h": 343.9
  },
  "luminance": 0.29562
}

Semantic roles & 50–950 ramp

primary
#EC5FBA
secondary
#BBEBCC
accent
#DB540A
background
#FFF9FC
surface
#FFF2F9
border
#D7CCD2
text
#180E13
muted
#867E82

Preview Lab

Preview with #EC5FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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