#EC5FB2#EC5FB2

#EC5FB2 is a light, vivid pink. Relative luminance 0.292; OKLCH L 68.9% C 0.194 H 347.0°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#EC5FB2
RGBrgb(236, 95, 178)
HSLhsl(325, 79%, 65%)
HSVhsv(325, 60%, 93%)
CMYKcmyk(0%, 59.7%, 24.6%, 7.5%)
CIE-LABlab(60.99, 62.76, -16.56)
CIE-LCHlch(60.99, 64.90, 345.22°)
OKLaboklab(68.92% 0.1893 -0.0436)
OKLCHoklch(68.92% 0.194 347)
XYZxyz(46.7218, 29.2361, 45.2934)
Luminance0.2923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FB2 #5FEC99
analogous
#E05FEC #EC5FB2 #EC5F6B
triadic
#EC5FB2 #B2EC5F #5FB2EC
tetradic
#EC5FB2 #ECE05F #5FEC99 #5F6BEC
square
#EC5FB2 #ECE05F #5FEC99 #5F6BEC
split-complementary
#EC5FB2 #6BEC5F #5FECE0
monochromatic
#BA1677 #E62898 #EC5FB2 #F296CC #F9CCE7

Accessibility & contrast

On white

3.07
#EC5FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#EC5FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5FB2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FB2#FFFFFF#000000##000000
##EC5FB21.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E84B5
Deuteranopia (green-blind)
#969CAF
Tritanopia (blue-blind)
#FB5C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec5fb2;
/* rgb */ color: rgb(236, 95, 178);
/* oklch */ color: oklch(68.9% 0.194 347.0);
Tailwind
colors: {
  custom: {
    50: '#f693c9',
    500: '#ec5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fb2;
$custom-light: #f693c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fb2",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 324.681,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68919,
    "c": 0.19429,
    "h": 347
  },
  "luminance": 0.29232
}

Semantic roles & 50–950 ramp

primary
#EC5FB2
secondary
#BBEBCF
accent
#DB600A
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #EC5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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