#EC5FAF#EC5FAF

#EC5FAF is a light, vivid pink. Relative luminance 0.291; OKLCH L 68.8% C 0.193 H 348.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#EC5FAF
RGBrgb(236, 95, 175)
HSLhsl(326, 79%, 65%)
HSVhsv(326, 60%, 93%)
CMYKcmyk(0%, 59.7%, 25.8%, 7.5%)
CIE-LABlab(60.88, 62.37, -14.99)
CIE-LCHlch(60.88, 64.14, 346.48°)
OKLaboklab(68.81% 0.1886 -0.0393)
OKLCHoklch(68.81% 0.193 348.2)
XYZxyz(46.4239, 29.1169, 43.7243)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FAF #5FEC9C
analogous
#E25FEC #EC5FAF #EC5F69
triadic
#EC5FAF #AFEC5F #5FAFEC
tetradic
#EC5FAF #ECE25F #5FEC9C #5F69EC
square
#EC5FAF #ECE25F #5FEC9C #5F69EC
split-complementary
#EC5FAF #69EC5F #5FECE2
monochromatic
#BA1673 #E62894 #EC5FAF #F296CA #F9CCE6

Accessibility & contrast

On white

3.08
#EC5FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#EC5FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5FAF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FAF#FFFFFF#000000##000000
##EC5FAF1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F83B1
Deuteranopia (green-blind)
#979CAC
Tritanopia (blue-blind)
#FB5B7F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec5faf;
/* rgb */ color: rgb(236, 95, 175);
/* oklch */ color: oklch(68.8% 0.193 348.2);
Tailwind
colors: {
  custom: {
    50: '#f693c7',
    500: '#ec5faf',
    950: '#000000',
  },
}
SCSS
$custom: #ec5faf;
$custom-light: #f693c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5faf",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 325.957,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68807,
    "c": 0.19262,
    "h": 348.2
  },
  "luminance": 0.29112
}

Semantic roles & 50–950 ramp

primary
#EC5FAF
secondary
#BBEBD0
accent
#DB650A
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #EC5FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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