#EC506E#EC506E

#EC506E is a light, vivid red. Relative luminance 0.247; OKLCH L 65.2% C 0.192 H 12.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#EC506E
RGBrgb(236, 80, 110)
HSLhsl(348, 80%, 62%)
HSVhsv(348, 66%, 93%)
CMYKcmyk(0%, 66.1%, 53.4%, 7.5%)
CIE-LABlab(56.78, 61.84, 16.96)
CIE-LCHlch(56.78, 64.13, 15.34°)
OKLaboklab(65.16% 0.1867 0.0427)
OKLCHoklch(65.16% 0.192 12.9)
XYZxyz(40.2788, 24.7013, 17.3956)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC506E #50ECCE
analogous
#EC50BC #EC506E #EC8050
triadic
#EC506E #6EEC50 #506EEC
tetradic
#EC506E #BCEC50 #50ECCE #8050EC
square
#EC506E #BCEC50 #50ECCE #8050EC
split-complementary
#EC506E #50EC80 #50BCEC
monochromatic
#AF1331 #E61940 #EC506E #F2879C #F8BEC9

Accessibility & contrast

On white

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

On black

5.94
#EC506E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC506E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC506E#FFFFFF#000000##000000
##EC506E1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec506e;
/* rgb */ color: rgb(236, 80, 110);
/* oklch */ color: oklch(65.2% 0.192 12.9);
Tailwind
colors: {
  custom: {
    50: '#f88a97',
    500: '#ec506e',
    950: '#000000',
  },
}
SCSS
$custom: #ec506e;
$custom-light: #f88a97;
$custom-dark: #000000;
JSON
{
  "hex": "#ec506e",
  "rgb": {
    "r": 236,
    "g": 80,
    "b": 110
  },
  "hsl": {
    "h": 348.462,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65164,
    "c": 0.19152,
    "h": 12.9
  },
  "luminance": 0.24696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC506E

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

Preview Lab → · Contrast checker → · Palette generator →

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