#EC7BA3#EC7BA3

#EC7BA3 is a light, vivid pink. Relative luminance 0.346; OKLCH L 72.1% C 0.145 H 358.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#EC7BA3
RGBrgb(236, 123, 163)
HSLhsl(339, 75%, 70%)
HSVhsv(339, 48%, 93%)
CMYKcmyk(0%, 47.9%, 30.9%, 7.5%)
CIE-LABlab(65.47, 47.79, -1.31)
CIE-LCHlch(65.47, 47.81, 358.43°)
OKLaboklab(72.11% 0.1449 -0.0028)
OKLCHoklch(72.11% 0.145 358.9)
XYZxyz(48.2879, 34.6474, 38.7877)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BA3 #7BECC4
analogous
#EC7BDB #EC7BA3 #EC8B7B
triadic
#EC7BA3 #A3EC7B #7BA3EC
tetradic
#EC7BA3 #DBEC7B #7BECC4 #8B7BEC
square
#EC7BA3 #DBEC7B #7BECC4 #8B7BEC
split-complementary
#EC7BA3 #7BEC8B #7BDBEC
monochromatic
#CF1E5C #E4467E #EC7BA3 #F4B0C8 #FBE4EC

Accessibility & contrast

On white

2.65
#EC7BA3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#EC7BA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BA3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BA3#FFFFFF#000000##000000
##EC7BA31.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C92A4
Deuteranopia (green-blind)
#A9A7A0
Tritanopia (blue-blind)
#FC738A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec7ba3;
/* rgb */ color: rgb(236, 123, 163);
/* oklch */ color: oklch(72.1% 0.145 358.9);
Tailwind
colors: {
  custom: {
    50: '#f5a4be',
    500: '#ec7ba3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ba3;
$custom-light: #f5a4be;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ba3",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 163
  },
  "hsl": {
    "h": 338.761,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72113,
    "c": 0.14496,
    "h": 358.9
  },
  "luminance": 0.34643
}

Semantic roles & 50–950 ramp

primary
#EC7BA3
secondary
#D2F1E6
accent
#D7900F
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC7BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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