#EC5D7E#EC5D7E

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

Color values

HEX#EC5D7E
RGBrgb(236, 93, 126)
HSLhsl(346, 79%, 65%)
HSVhsv(346, 61%, 93%)
CMYKcmyk(0%, 60.6%, 46.6%, 7.5%)
CIE-LABlab(59.13, 57.81, 10.86)
CIE-LCHlch(59.13, 58.83, 10.64°)
OKLaboklab(67.04% 0.1756 0.0282)
OKLCHoklch(67.04% 0.178 9.1)
XYZxyz(42.2755, 27.1730, 22.7533)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5D7E #5DECCB
analogous
#EC5DC6 #EC5D7E #EC845D
triadic
#EC5D7E #7EEC5D #5D7EEC
tetradic
#EC5D7E #C6EC5D #5DECCB #845DEC
square
#EC5D7E #C6EC5D #5DECCB #845DEC
split-complementary
#EC5D7E #5DEC84 #5DC6EC
monochromatic
#B9163B #E62652 #EC5D7E #F294AA #F9CBD5

Accessibility & contrast

On white

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

On black

6.43
#EC5D7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5D7E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5D7E#FFFFFF#000000##000000
##EC5D7E1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec5d7e;
/* rgb */ color: rgb(236, 93, 126);
/* oklch */ color: oklch(67.0% 0.178 9.1);
Tailwind
colors: {
  custom: {
    50: '#f791a3',
    500: '#ec5d7e',
    950: '#000000',
  },
}
SCSS
$custom: #ec5d7e;
$custom-light: #f791a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5d7e",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 126
  },
  "hsl": {
    "h": 346.154,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67036,
    "c": 0.17783,
    "h": 9.1
  },
  "luminance": 0.27168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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