#EC7AA3#EC7AA3

#EC7AA3 is a light, vivid pink. Relative luminance 0.344; OKLCH L 72.0% C 0.146 H 358.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#EC7AA3
RGBrgb(236, 122, 163)
HSLhsl(338, 75%, 70%)
HSVhsv(338, 48%, 93%)
CMYKcmyk(0%, 48.3%, 30.9%, 7.5%)
CIE-LABlab(65.28, 48.28, -1.59)
CIE-LCHlch(65.28, 48.31, 358.11°)
OKLaboklab(71.97% 0.1465 -0.0035)
OKLCHoklch(71.97% 0.146 358.6)
XYZxyz(48.1644, 34.4005, 38.7465)
Luminance0.3440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AA3 #7AECC3
analogous
#EC7ADC #EC7AA3 #EC8A7A
triadic
#EC7AA3 #A3EC7A #7AA3EC
tetradic
#EC7AA3 #DCEC7A #7AECC3 #8A7AEC
square
#EC7AA3 #DCEC7A #7AECC3 #8A7AEC
split-complementary
#EC7AA3 #7AEC8A #7ADCEC
monochromatic
#CE1D5D #E4447E #EC7AA3 #F4B0C8 #FBE4EC

Accessibility & contrast

On white

2.67
#EC7AA3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#EC7AA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AA3
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AA3#FFFFFF#000000##000000
##EC7AA31.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B92A4
Deuteranopia (green-blind)
#A8A6A0
Tritanopia (blue-blind)
#FC7289
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec7aa3;
/* rgb */ color: rgb(236, 122, 163);
/* oklch */ color: oklch(72.0% 0.146 358.6);
Tailwind
colors: {
  custom: {
    50: '#f5a3be',
    500: '#ec7aa3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7aa3;
$custom-light: #f5a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7aa3",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 163
  },
  "hsl": {
    "h": 338.421,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71966,
    "c": 0.14649,
    "h": 358.6
  },
  "luminance": 0.34396
}

Semantic roles & 50–950 ramp

primary
#EC7AA3
secondary
#D1F1E5
accent
#D78F0E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC7AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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