#EC538F#EC538F

#EC538F is a light, vivid pink. Relative luminance 0.260; OKLCH L 66.4% C 0.195 H 359.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#EC538F
RGBrgb(236, 83, 143)
HSLhsl(336, 80%, 63%)
HSVhsv(336, 65%, 93%)
CMYKcmyk(0%, 64.8%, 39.4%, 7.5%)
CIE-LABlab(58.04, 63.62, -0.65)
CIE-LCHlch(58.04, 63.63, 359.41°)
OKLaboklab(66.37% 0.1946 -0.0009)
OKLCHoklch(66.37% 0.195 359.7)
XYZxyz(42.6461, 26.0076, 28.7554)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC538F #53ECB0
analogous
#EC53DB #EC538F #EC6453
triadic
#EC538F #8FEC53 #538FEC
tetradic
#EC538F #DBEC53 #53ECB0 #6453EC
square
#EC538F #DBEC53 #53ECB0 #6453EC
split-complementary
#EC538F #53EC64 #53DBEC
monochromatic
#B11451 #E61C6B #EC538F #F28AB3 #F8C1D7

Accessibility & contrast

On white

3.39
#EC538F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#EC538F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC538F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC538F#FFFFFF#000000##000000
##EC538F1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#707991
Deuteranopia (green-blind)
#99968B
Tritanopia (blue-blind)
#FF426B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec538f;
/* rgb */ color: rgb(236, 83, 143);
/* oklch */ color: oklch(66.4% 0.195 359.7);
Tailwind
colors: {
  custom: {
    50: '#f78caf',
    500: '#ec538f',
    950: '#000000',
  },
}
SCSS
$custom: #ec538f;
$custom-light: #f78caf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec538f",
  "rgb": {
    "r": 236,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 336.471,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66371,
    "c": 0.19464,
    "h": 359.7
  },
  "luminance": 0.26003
}

Semantic roles & 50–950 ramp

primary
#EC538F
secondary
#B2E9D3
accent
#DC8A09
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC538F

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

Preview Lab → · Contrast checker → · Palette generator →

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