#EC74B4#EC74B4

#EC74B4 is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.7% C 0.164 H 348.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#EC74B4
RGBrgb(236, 116, 180)
HSLhsl(328, 76%, 69%)
HSVhsv(328, 51%, 93%)
CMYKcmyk(0%, 50.8%, 23.7%, 7.5%)
CIE-LABlab(64.66, 53.45, -12.16)
CIE-LCHlch(64.66, 54.81, 347.18°)
OKLaboklab(71.67% 0.1607 -0.0318)
OKLCHoklch(71.67% 0.164 348.8)
XYZxyz(49.0771, 33.6231, 47.0763)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74B4 #74ECAC
analogous
#E874EC #EC74B4 #EC7478
triadic
#EC74B4 #B4EC74 #74B4EC
tetradic
#EC74B4 #ECE874 #74ECAC #7478EC
square
#EC74B4 #ECE874 #74ECAC #7478EC
split-complementary
#EC74B4 #78EC74 #74ECE8
monochromatic
#CA1C79 #E53E97 #EC74B4 #F3AAD1 #FBE0EE

Accessibility & contrast

On white

2.72
#EC74B4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#EC74B4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74B4
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74B4#FFFFFF#000000##000000
##EC74B41.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8190B6
Deuteranopia (green-blind)
#A1A5B1
Tritanopia (blue-blind)
#FA718C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec74b4;
/* rgb */ color: rgb(236, 116, 180);
/* oklch */ color: oklch(71.7% 0.164 348.8);
Tailwind
colors: {
  custom: {
    50: '#f5a0ca',
    500: '#ec74b4',
    950: '#000000',
  },
}
SCSS
$custom: #ec74b4;
$custom-light: #f5a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74b4",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 180
  },
  "hsl": {
    "h": 328,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71673,
    "c": 0.16383,
    "h": 348.8
  },
  "luminance": 0.33619
}

Semantic roles & 50–950 ramp

primary
#EC74B4
secondary
#CCEFDD
accent
#D86C0D
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC74B4

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

Preview Lab → · Contrast checker → · Palette generator →

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