#EC7EAF#EC7EAF

#EC7EAF is a light, vivid pink. Relative luminance 0.358; OKLCH L 72.9% C 0.145 H 353.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#EC7EAF
RGBrgb(236, 126, 175)
HSLhsl(333, 74%, 71%)
HSVhsv(333, 47%, 93%)
CMYKcmyk(0%, 46.6%, 25.8%, 7.5%)
CIE-LABlab(66.41, 47.86, -6.72)
CIE-LCHlch(66.41, 48.33, 352.00°)
OKLaboklab(72.93% 0.1443 -0.0172)
OKLCHoklch(72.93% 0.145 353.2)
XYZxyz(49.7923, 35.8538, 44.8471)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EAF #7EECBB
analogous
#EC7EE6 #EC7EAF #EC847E
triadic
#EC7EAF #AFEC7E #7EAFEC
tetradic
#EC7EAF #E6EC7E #7EECBB #847EEC
square
#EC7EAF #E6EC7E #7EECBB #847EEC
split-complementary
#EC7EAF #7EEC84 #7EE6EC
monochromatic
#D11F6E #E4498E #EC7EAF #F4B3D0 #FBE4EE

Accessibility & contrast

On white

2.57
#EC7EAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#EC7EAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EAF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EAF#FFFFFF#000000##000000
##EC7EAF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B95B1
Deuteranopia (green-blind)
#A8A9AC
Tritanopia (blue-blind)
#FB7990
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7eaf;
/* rgb */ color: rgb(236, 126, 175);
/* oklch */ color: oklch(72.9% 0.145 353.2);
Tailwind
colors: {
  custom: {
    50: '#f5a6c6',
    500: '#ec7eaf',
    950: '#000000',
  },
}
SCSS
$custom: #ec7eaf;
$custom-light: #f5a6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7eaf",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 175
  },
  "hsl": {
    "h": 333.273,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72932,
    "c": 0.14536,
    "h": 353.2
  },
  "luminance": 0.3585
}

Semantic roles & 50–950 ramp

primary
#EC7EAF
secondary
#D4F2E4
accent
#D67E0F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EC7EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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