#EC5D7F#EC5D7F

#EC5D7F is a light, vivid red. Relative luminance 0.272; OKLCH L 67.1% C 0.178 H 8.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#EC5D7F
RGBrgb(236, 93, 127)
HSLhsl(346, 79%, 65%)
HSVhsv(346, 61%, 93%)
CMYKcmyk(0%, 60.6%, 46.2%, 7.5%)
CIE-LABlab(59.16, 57.91, 10.31)
CIE-LCHlch(59.16, 58.82, 10.09°)
OKLaboklab(67.06% 0.176 0.0268)
OKLCHoklch(67.06% 0.178 8.7)
XYZxyz(42.3403, 27.1989, 23.0948)
Luminance0.2719 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5D7F #5DECCA
analogous
#EC5DC7 #EC5D7F #EC825D
triadic
#EC5D7F #7FEC5D #5D7FEC
tetradic
#EC5D7F #C7EC5D #5DECCA #825DEC
square
#EC5D7F #C7EC5D #5DECCA #825DEC
split-complementary
#EC5D7F #5DEC82 #5DC7EC
monochromatic
#B9163C #E62654 #EC5D7F #F294AA #F9CBD6

Accessibility & contrast

On white

3.26
#EC5D7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#EC5D7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5D7F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5D7F#FFFFFF#000000##000000
##EC5D7F1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7C80
Deuteranopia (green-blind)
#A0997C
Tritanopia (blue-blind)
#FF496A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5d7f;
/* rgb */ color: rgb(236, 93, 127);
/* oklch */ color: oklch(67.1% 0.178 8.7);
Tailwind
colors: {
  custom: {
    50: '#f791a3',
    500: '#ec5d7f',
    950: '#000000',
  },
}
SCSS
$custom: #ec5d7f;
$custom-light: #f791a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5d7f",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 127
  },
  "hsl": {
    "h": 345.734,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67062,
    "c": 0.17798,
    "h": 8.7
  },
  "luminance": 0.27194
}

Semantic roles & 50–950 ramp

primary
#EC5D7F
secondary
#BAEBDF
accent
#DBAA0A
background
#FFF9FA
surface
#FFF2F3
border
#D7CCCD
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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