#EC506D#EC506D

#EC506D is a light, vivid red. Relative luminance 0.247; OKLCH L 65.1% C 0.191 H 13.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#EC506D
RGBrgb(236, 80, 109)
HSLhsl(349, 80%, 62%)
HSVhsv(349, 66%, 93%)
CMYKcmyk(0%, 66.1%, 53.8%, 7.5%)
CIE-LABlab(56.76, 61.77, 17.52)
CIE-LCHlch(56.76, 64.20, 15.84°)
OKLaboklab(65.14% 0.1863 0.044)
OKLCHoklch(65.14% 0.191 13.3)
XYZxyz(40.2246, 24.6797, 17.1105)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC506D #50ECCF
analogous
#EC50BB #EC506D #EC8150
triadic
#EC506D #6DEC50 #506DEC
tetradic
#EC506D #BBEC50 #50ECCF #8150EC
square
#EC506D #BBEC50 #50ECCF #8150EC
split-complementary
#EC506D #50EC81 #50BBEC
monochromatic
#AF1330 #E6193F #EC506D #F2879B #F8BEC9

Accessibility & contrast

On white

3.54
#EC506D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#EC506D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC506D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC506D#FFFFFF#000000##000000
##EC506D1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76746D
Deuteranopia (green-blind)
#9E9469
Tritanopia (blue-blind)
#FF325C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ec506d;
/* rgb */ color: rgb(236, 80, 109);
/* oklch */ color: oklch(65.1% 0.191 13.3);
Tailwind
colors: {
  custom: {
    50: '#f98a96',
    500: '#ec506d',
    950: '#000000',
  },
}
SCSS
$custom: #ec506d;
$custom-light: #f98a96;
$custom-dark: #000000;
JSON
{
  "hex": "#ec506d",
  "rgb": {
    "r": 236,
    "g": 80,
    "b": 109
  },
  "hsl": {
    "h": 348.846,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65141,
    "c": 0.19145,
    "h": 13.3
  },
  "luminance": 0.24674
}

Semantic roles & 50–950 ramp

primary
#EC506D
secondary
#AFE9DE
accent
#DDB509
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0D
muted
#867D7E

Preview Lab

Preview with #EC506D

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

Preview Lab → · Contrast checker → · Palette generator →

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