#EC506F#EC506F

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

Color values

HEX#EC506F
RGBrgb(236, 80, 111)
HSLhsl(348, 80%, 62%)
HSVhsv(348, 66%, 93%)
CMYKcmyk(0%, 66.1%, 53%, 7.5%)
CIE-LABlab(56.80, 61.92, 16.41)
CIE-LCHlch(56.80, 64.06, 14.84°)
OKLaboklab(65.19% 0.1871 0.0414)
OKLCHoklch(65.19% 0.192 12.5)
XYZxyz(40.3335, 24.7232, 17.6840)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC506F #50ECCD
analogous
#EC50BD #EC506F #EC7F50
triadic
#EC506F #6FEC50 #506FEC
tetradic
#EC506F #BDEC50 #50ECCD #7F50EC
square
#EC506F #BDEC50 #50ECCD #7F50EC
split-complementary
#EC506F #50EC7F #50BDEC
monochromatic
#AF1332 #E61942 #EC506F #F2879C #F8BECA

Accessibility & contrast

On white

3.53
#EC506F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC506F#FFFFFF#000000##000000
##EC506F1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec506f;
/* rgb */ color: rgb(236, 80, 111);
/* oklch */ color: oklch(65.2% 0.192 12.5);
Tailwind
colors: {
  custom: {
    50: '#f88a98',
    500: '#ec506f',
    950: '#000000',
  },
}
SCSS
$custom: #ec506f;
$custom-light: #f88a98;
$custom-dark: #000000;
JSON
{
  "hex": "#ec506f",
  "rgb": {
    "r": 236,
    "g": 80,
    "b": 111
  },
  "hsl": {
    "h": 348.077,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65187,
    "c": 0.1916,
    "h": 12.5
  },
  "luminance": 0.24718
}

Semantic roles & 50–950 ramp

primary
#EC506F
secondary
#AFE9DD
accent
#DDB309
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0D
muted
#867D7E

Preview Lab

Preview with #EC506F

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

Preview Lab → · Contrast checker → · Palette generator →

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