#EC7EBB#EC7EBB

#EC7EBB is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.3% C 0.152 H 347.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#EC7EBB
RGBrgb(236, 126, 187)
HSLhsl(327, 74%, 71%)
HSVhsv(327, 47%, 93%)
CMYKcmyk(0%, 46.6%, 20.8%, 7.5%)
CIE-LABlab(66.78, 49.54, -12.93)
CIE-LCHlch(66.78, 51.20, 345.37°)
OKLaboklab(73.34% 0.148 -0.0339)
OKLCHoklch(73.34% 0.152 347.1)
XYZxyz(51.0237, 36.3463, 51.3323)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EBB #7EECAF
analogous
#E67EEC #EC7EBB #EC7E84
triadic
#EC7EBB #BBEC7E #7EBBEC
tetradic
#EC7EBB #ECE67E #7EECAF #7E84EC
square
#EC7EBB #ECE67E #7EECAF #7E84EC
split-complementary
#EC7EBB #84EC7E #7EECE6
monochromatic
#D11F82 #E4499F #EC7EBB #F4B3D7 #FBE4F1

Accessibility & contrast

On white

2.54
#EC7EBB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#EC7EBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EBB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EBB#FFFFFF#000000##000000
##EC7EBB1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8897BD
Deuteranopia (green-blind)
#A5A9B8
Tritanopia (blue-blind)
#F97C95
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7ebb;
/* rgb */ color: rgb(236, 126, 187);
/* oklch */ color: oklch(73.3% 0.152 347.1);
Tailwind
colors: {
  custom: {
    50: '#f4a6cf',
    500: '#ec7ebb',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ebb;
$custom-light: #f4a6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ebb",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 187
  },
  "hsl": {
    "h": 326.727,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73338,
    "c": 0.15187,
    "h": 347.1
  },
  "luminance": 0.36342
}

Semantic roles & 50–950 ramp

primary
#EC7EBB
secondary
#D4F2E1
accent
#D6680F
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171013
muted
#857F82

Preview Lab

Preview with #EC7EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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