#EC506A#EC506A

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

Color values

HEX#EC506A
RGBrgb(236, 80, 106)
HSLhsl(350, 80%, 62%)
HSVhsv(350, 66%, 93%)
CMYKcmyk(0%, 66.1%, 55.1%, 7.5%)
CIE-LABlab(56.70, 61.54, 19.20)
CIE-LCHlch(56.70, 64.47, 17.33°)
OKLaboklab(65.07% 0.1852 0.0479)
OKLCHoklch(65.07% 0.191 14.5)
XYZxyz(40.0659, 24.6162, 16.2745)
Luminance0.2461 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC506A #50ECD2
analogous
#EC50B8 #EC506A #EC8450
triadic
#EC506A #6AEC50 #506AEC
tetradic
#EC506A #B8EC50 #50ECD2 #8450EC
square
#EC506A #B8EC50 #50ECD2 #8450EC
split-complementary
#EC506A #50EC84 #50B8EC
monochromatic
#AF132D #E6193B #EC506A #F28799 #F8BEC8

Accessibility & contrast

On white

3.55
#EC506A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#EC506A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC506A
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC506A#FFFFFF#000000##000000
##EC506A1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76746A
Deuteranopia (green-blind)
#9E9466
Tritanopia (blue-blind)
#FF315A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ec506a;
/* rgb */ color: rgb(236, 80, 106);
/* oklch */ color: oklch(65.1% 0.191 14.5);
Tailwind
colors: {
  custom: {
    50: '#f98a94',
    500: '#ec506a',
    950: '#000000',
  },
}
SCSS
$custom: #ec506a;
$custom-light: #f98a94;
$custom-dark: #000000;
JSON
{
  "hex": "#ec506a",
  "rgb": {
    "r": 236,
    "g": 80,
    "b": 106
  },
  "hsl": {
    "h": 350,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65074,
    "c": 0.19128,
    "h": 14.5
  },
  "luminance": 0.24611
}

Semantic roles & 50–950 ramp

primary
#EC506A
secondary
#AFE9DF
accent
#DDB909
background
#FFF8F9
surface
#FFF0F1
border
#D7CBCB
text
#190C0D
muted
#877D7E

Preview Lab

Preview with #EC506A

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

Preview Lab → · Contrast checker → · Palette generator →

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