#EC5E7F#EC5E7F

#EC5E7F is a light, vivid red. Relative luminance 0.274; OKLCH L 67.2% C 0.177 H 8.9°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#EC5E7F
RGBrgb(236, 94, 127)
HSLhsl(346, 79%, 65%)
HSVhsv(346, 60%, 93%)
CMYKcmyk(0%, 60.2%, 46.2%, 7.5%)
CIE-LABlab(59.32, 57.47, 10.54)
CIE-LCHlch(59.32, 58.43, 10.39°)
OKLaboklab(67.18% 0.1746 0.0274)
OKLCHoklch(67.18% 0.177 8.9)
XYZxyz(42.4287, 27.3756, 23.1242)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5E7F #5EECCB
analogous
#EC5EC6 #EC5E7F #EC845E
triadic
#EC5E7F #7FEC5E #5E7FEC
tetradic
#EC5E7F #C6EC5E #5EECCB #845EEC
square
#EC5E7F #C6EC5E #5EECCB #845EEC
split-complementary
#EC5E7F #5EEC84 #5EC6EC
monochromatic
#BA163C #E62753 #EC5E7F #F295AB #F9CBD6

Accessibility & contrast

On white

3.24
#EC5E7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#EC5E7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5E7F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5E7F#FFFFFF#000000##000000
##EC5E7F1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7D80
Deuteranopia (green-blind)
#A1997C
Tritanopia (blue-blind)
#FF4B6B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5e7f;
/* rgb */ color: rgb(236, 94, 127);
/* oklch */ color: oklch(67.2% 0.177 8.9);
Tailwind
colors: {
  custom: {
    50: '#f792a3',
    500: '#ec5e7f',
    950: '#000000',
  },
}
SCSS
$custom: #ec5e7f;
$custom-light: #f792a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5e7f",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 127
  },
  "hsl": {
    "h": 346.056,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67183,
    "c": 0.17672,
    "h": 8.9
  },
  "luminance": 0.27371
}

Semantic roles & 50–950 ramp

primary
#EC5E7F
secondary
#BBEBE0
accent
#DBAB0A
background
#FFF9FA
surface
#FFF2F3
border
#D7CCCD
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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