#EC74A2#EC74A2

#EC74A2 is a light, vivid pink. Relative luminance 0.329; OKLCH L 71.1% C 0.155 H 357.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#EC74A2
RGBrgb(236, 116, 162)
HSLhsl(337, 76%, 69%)
HSVhsv(337, 51%, 93%)
CMYKcmyk(0%, 50.8%, 31.4%, 7.5%)
CIE-LABlab(64.11, 51.10, -2.74)
CIE-LCHlch(64.11, 51.17, 356.93°)
OKLaboklab(71.08% 0.1551 -0.0065)
OKLCHoklch(71.08% 0.155 357.6)
XYZxyz(47.3611, 32.9367, 38.0385)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74A2 #74ECBE
analogous
#EC74DE #EC74A2 #EC8274
triadic
#EC74A2 #A2EC74 #74A2EC
tetradic
#EC74A2 #DEEC74 #74ECBE #8274EC
square
#EC74A2 #DEEC74 #74ECBE #8274EC
split-complementary
#EC74A2 #74EC82 #74DEEC
monochromatic
#CA1C5E #E53E7E #EC74A2 #F3AAC6 #FBE0EA

Accessibility & contrast

On white

2.77
#EC74A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#EC74A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74A2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74A2#FFFFFF#000000##000000
##EC74A21.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#A5A49F
Tritanopia (blue-blind)
#FC6C85
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec74a2;
/* rgb */ color: rgb(236, 116, 162);
/* oklch */ color: oklch(71.1% 0.155 357.6);
Tailwind
colors: {
  custom: {
    50: '#f59fbd',
    500: '#ec74a2',
    950: '#000000',
  },
}
SCSS
$custom: #ec74a2;
$custom-light: #f59fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74a2",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 337,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71077,
    "c": 0.15526,
    "h": 357.6
  },
  "luminance": 0.32932
}

Semantic roles & 50–950 ramp

primary
#EC74A2
secondary
#CCEFE2
accent
#D88A0D
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC74A2

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

Preview Lab → · Contrast checker → · Palette generator →

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