#EC7DAF#EC7DAF

#EC7DAF is a light, vivid pink. Relative luminance 0.356; OKLCH L 72.8% C 0.147 H 353.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#EC7DAF
RGBrgb(236, 125, 175)
HSLhsl(333, 74%, 71%)
HSVhsv(333, 47%, 93%)
CMYKcmyk(0%, 47%, 25.8%, 7.5%)
CIE-LABlab(66.21, 48.36, -7.01)
CIE-LCHlch(66.21, 48.87, 351.75°)
OKLaboklab(72.79% 0.1459 -0.0179)
OKLCHoklch(72.79% 0.147 353)
XYZxyz(49.6651, 35.5993, 44.8047)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DAF #7DECBA
analogous
#EC7DE6 #EC7DAF #EC827D
triadic
#EC7DAF #AFEC7D #7DAFEC
tetradic
#EC7DAF #E6EC7D #7DECBA #827DEC
square
#EC7DAF #E6EC7D #7DECBA #827DEC
split-complementary
#EC7DAF #7DEC82 #7DE6EC
monochromatic
#D01E6E #E4488E #EC7DAF #F4B2D0 #FBE4EF

Accessibility & contrast

On white

2.59
#EC7DAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#EC7DAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DAF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DAF#FFFFFF#000000##000000
##EC7DAF1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A95B1
Deuteranopia (green-blind)
#A7A8AC
Tritanopia (blue-blind)
#FB788F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7daf;
/* rgb */ color: rgb(236, 125, 175);
/* oklch */ color: oklch(72.8% 0.147 353.0);
Tailwind
colors: {
  custom: {
    50: '#f5a5c6',
    500: '#ec7daf',
    950: '#000000',
  },
}
SCSS
$custom: #ec7daf;
$custom-light: #f5a5c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7daf",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 175
  },
  "hsl": {
    "h": 332.973,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72785,
    "c": 0.14695,
    "h": 353
  },
  "luminance": 0.35595
}

Semantic roles & 50–950 ramp

primary
#EC7DAF
secondary
#D3F1E4
accent
#D77D0F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC7DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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