#EC74AB#EC74AB

#EC74AB is a light, vivid pink. Relative luminance 0.333; OKLCH L 71.4% C 0.159 H 353.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#EC74AB
RGBrgb(236, 116, 171)
HSLhsl(333, 76%, 69%)
HSVhsv(333, 51%, 93%)
CMYKcmyk(0%, 50.8%, 27.5%, 7.5%)
CIE-LABlab(64.38, 52.24, -7.47)
CIE-LCHlch(64.38, 52.77, 351.86°)
OKLaboklab(71.37% 0.158 -0.0191)
OKLCHoklch(71.37% 0.159 353.1)
XYZxyz(48.1899, 33.2682, 42.4036)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74AB #74ECB5
analogous
#EC74E7 #EC74AB #EC7974
triadic
#EC74AB #ABEC74 #74ABEC
tetradic
#EC74AB #E7EC74 #74ECB5 #7974EC
square
#EC74AB #E7EC74 #74ECB5 #7974EC
split-complementary
#EC74AB #74EC79 #74E7EC
monochromatic
#CA1C6C #E53E8A #EC74AB #F3AACC #FBE0EC

Accessibility & contrast

On white

2.74
#EC74AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#EC74AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74AB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74AB#FFFFFF#000000##000000
##EC74AB1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#838FAD
Deuteranopia (green-blind)
#A3A4A8
Tritanopia (blue-blind)
#FB6E89
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec74ab;
/* rgb */ color: rgb(236, 116, 171);
/* oklch */ color: oklch(71.4% 0.159 353.1);
Tailwind
colors: {
  custom: {
    50: '#f5a0c4',
    500: '#ec74ab',
    950: '#000000',
  },
}
SCSS
$custom: #ec74ab;
$custom-light: #f5a0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74ab",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 171
  },
  "hsl": {
    "h": 332.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71366,
    "c": 0.15916,
    "h": 353.1
  },
  "luminance": 0.33264
}

Semantic roles & 50–950 ramp

primary
#EC74AB
secondary
#CCEFDF
accent
#D87B0D
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC74AB

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

Preview Lab → · Contrast checker → · Palette generator →

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