#EC74BF#EC74BF

#EC74BF is a light, vivid pink. Relative luminance 0.341; OKLCH L 72.1% C 0.170 H 343.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#EC74BF
RGBrgb(236, 116, 191)
HSLhsl(323, 76%, 69%)
HSVhsv(323, 51%, 93%)
CMYKcmyk(0%, 50.8%, 19.1%, 7.5%)
CIE-LABlab(65.03, 55.00, -17.83)
CIE-LCHlch(65.03, 57.81, 342.04°)
OKLaboklab(72.07% 0.1638 -0.0473)
OKLCHoklch(72.07% 0.17 343.9)
XYZxyz(50.2425, 34.0892, 53.2138)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74BF #74ECA1
analogous
#DD74EC #EC74BF #EC7483
triadic
#EC74BF #BFEC74 #74BFEC
tetradic
#EC74BF #ECDD74 #74ECA1 #7483EC
square
#EC74BF #ECDD74 #74ECA1 #7483EC
split-complementary
#EC74BF #83EC74 #74ECDD
monochromatic
#CA1C89 #E53EA6 #EC74BF #F3AAD8 #FBE0F1

Accessibility & contrast

On white

2.69
#EC74BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#EC74BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74BF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74BF#FFFFFF#000000##000000
##EC74BF1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91C2
Deuteranopia (green-blind)
#9EA5BC
Tritanopia (blue-blind)
#F97491
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec74bf;
/* rgb */ color: rgb(236, 116, 191);
/* oklch */ color: oklch(72.1% 0.170 343.9);
Tailwind
colors: {
  custom: {
    50: '#f5a0d2',
    500: '#ec74bf',
    950: '#000000',
  },
}
SCSS
$custom: #ec74bf;
$custom-light: #f5a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74bf",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 322.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72072,
    "c": 0.17045,
    "h": 343.9
  },
  "luminance": 0.34085
}

Semantic roles & 50–950 ramp

primary
#EC74BF
secondary
#CCEFDA
accent
#D8590D
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#170F14
muted
#857F82

Preview Lab

Preview with #EC74BF

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

Preview Lab → · Contrast checker → · Palette generator →

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