#EC7AB3#EC7AB3

#EC7AB3 is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.5% C 0.154 H 350.3°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#EC7AB3
RGBrgb(236, 122, 179)
HSLhsl(330, 75%, 70%)
HSVhsv(330, 48%, 93%)
CMYKcmyk(0%, 48.3%, 24.2%, 7.5%)
CIE-LABlab(65.76, 50.39, -9.95)
CIE-LCHlch(65.76, 51.36, 348.83°)
OKLaboklab(72.48% 0.1516 -0.0258)
OKLCHoklch(72.48% 0.154 350.3)
XYZxyz(49.6897, 35.0107, 46.7798)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AB3 #7AECB3
analogous
#EC7AEC #EC7AB3 #EC7A7A
triadic
#EC7AB3 #B3EC7A #7AB3EC
tetradic
#EC7AB3 #ECEC7A #7AECB3 #7A7AEC
square
#EC7AB3 #ECEC7A #7AECB3 #7A7AEC
split-complementary
#EC7AB3 #7AEC7A #7AECEC
monochromatic
#CE1D76 #E44494 #EC7AB3 #F4B0D2 #FBE4F0

Accessibility & contrast

On white

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

On black

8.00
#EC7AB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AB3
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AB3#FFFFFF#000000##000000
##EC7AB31.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B5
Deuteranopia (green-blind)
#A4A7B0
Tritanopia (blue-blind)
#FA768F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec7ab3;
/* rgb */ color: rgb(236, 122, 179);
/* oklch */ color: oklch(72.5% 0.154 350.3);
Tailwind
colors: {
  custom: {
    50: '#f5a3c9',
    500: '#ec7ab3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ab3;
$custom-light: #f5a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ab3",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 179
  },
  "hsl": {
    "h": 330,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72483,
    "c": 0.15378,
    "h": 350.3
  },
  "luminance": 0.35007
}

Semantic roles & 50–950 ramp

primary
#EC7AB3
secondary
#D1F1E1
accent
#D7730E
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC7AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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