#EC7AAF#EC7AAF

#EC7AAF is a light, vivid pink. Relative luminance 0.348; OKLCH L 72.3% C 0.152 H 352.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#EC7AAF
RGBrgb(236, 122, 175)
HSLhsl(332, 75%, 70%)
HSVhsv(332, 48%, 93%)
CMYKcmyk(0%, 48.3%, 25.8%, 7.5%)
CIE-LABlab(65.63, 49.85, -7.88)
CIE-LCHlch(65.63, 50.46, 351.02°)
OKLaboklab(72.35% 0.1504 -0.0202)
OKLCHoklch(72.35% 0.152 352.3)
XYZxyz(49.2911, 34.8512, 44.6800)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AAF #7AECB7
analogous
#EC7AE8 #EC7AAF #EC7E7A
triadic
#EC7AAF #AFEC7A #7AAFEC
tetradic
#EC7AAF #E8EC7A #7AECB7 #7E7AEC
square
#EC7AAF #E8EC7A #7AECB7 #7E7AEC
split-complementary
#EC7AAF #7AEC7E #7AE8EC
monochromatic
#CE1D70 #E4448F #EC7AAF #F4B0CF #FBE4EF

Accessibility & contrast

On white

2.64
#EC7AAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#EC7AAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AAF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AAF#FFFFFF#000000##000000
##EC7AAF1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8893B1
Deuteranopia (green-blind)
#A5A7AC
Tritanopia (blue-blind)
#FB758E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec7aaf;
/* rgb */ color: rgb(236, 122, 175);
/* oklch */ color: oklch(72.3% 0.152 352.3);
Tailwind
colors: {
  custom: {
    50: '#f5a3c6',
    500: '#ec7aaf',
    950: '#000000',
  },
}
SCSS
$custom: #ec7aaf;
$custom-light: #f5a3c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7aaf",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 175
  },
  "hsl": {
    "h": 332.105,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72349,
    "c": 0.15172,
    "h": 352.3
  },
  "luminance": 0.34847
}

Semantic roles & 50–950 ramp

primary
#EC7AAF
secondary
#D1F1E2
accent
#D77A0E
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC7AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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