#EC7CA7#EC7CA7

#EC7CA7 is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.4% C 0.145 H 357.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#EC7CA7
RGBrgb(236, 124, 167)
HSLhsl(337, 75%, 71%)
HSVhsv(337, 47%, 93%)
CMYKcmyk(0%, 47.5%, 29.2%, 7.5%)
CIE-LABlab(65.78, 47.80, -3.12)
CIE-LCHlch(65.78, 47.90, 356.26°)
OKLaboklab(72.38% 0.1448 -0.0076)
OKLCHoklch(72.38% 0.145 357)
XYZxyz(48.7766, 35.0424, 40.7467)
Luminance0.3504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CA7 #7CECC1
analogous
#EC7CDF #EC7CA7 #EC897C
triadic
#EC7CA7 #A7EC7C #7CA7EC
tetradic
#EC7CA7 #DFEC7C #7CECC1 #897CEC
square
#EC7CA7 #DFEC7C #7CECC1 #897CEC
split-complementary
#EC7CA7 #7CEC89 #7CDFEC
monochromatic
#D01E62 #E44783 #EC7CA7 #F4B1CB #FBE4ED

Accessibility & contrast

On white

2.62
#EC7CA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#EC7CA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CA7
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CA7#FFFFFF#000000##000000
##EC7CA71.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C93A8
Deuteranopia (green-blind)
#A8A7A4
Tritanopia (blue-blind)
#FB758C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec7ca7;
/* rgb */ color: rgb(236, 124, 167);
/* oklch */ color: oklch(72.4% 0.145 357.0);
Tailwind
colors: {
  custom: {
    50: '#f5a5c1',
    500: '#ec7ca7',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ca7;
$custom-light: #f5a5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ca7",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 336.964,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72383,
    "c": 0.14496,
    "h": 357
  },
  "luminance": 0.35038
}

Semantic roles & 50–950 ramp

primary
#EC7CA7
secondary
#D3F1E5
accent
#D78A0F
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC7CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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