#EC42BE#EC42BE

#EC42BE is a light, highly saturated pink. Relative luminance 0.254; OKLCH L 66.5% C 0.238 H 341.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#EC42BE
RGBrgb(236, 66, 190)
HSLhsl(316, 82%, 59%)
HSVhsv(316, 72%, 93%)
CMYKcmyk(0%, 72%, 19.5%, 7.5%)
CIE-LABlab(57.51, 75.23, -28.78)
CIE-LCHlch(57.51, 80.55, 339.06°)
OKLaboklab(66.52% 0.2251 -0.0775)
OKLCHoklch(66.52% 0.238 341)
XYZxyz(45.8359, 25.4516, 51.2039)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC42BE #42EC70
analogous
#C542EC #EC42BE #EC4269
triadic
#EC42BE #BEEC42 #42BEEC
tetradic
#EC42BE #ECC542 #42EC70 #4269EC
square
#EC42BE #ECC542 #42EC70 #4269EC
split-complementary
#EC42BE #69EC42 #42ECC5
monochromatic
#A3107B #DB16A6 #EC42BE #F27AD1 #F7B1E4

Accessibility & contrast

On white

3.45
#EC42BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#EC42BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC42BE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC42BE#FFFFFF#000000##000000
##EC42BE1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C1
Deuteranopia (green-blind)
#8694BA
Tritanopia (blue-blind)
#FA467B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec42be;
/* rgb */ color: rgb(236, 66, 190);
/* oklch */ color: oklch(66.5% 0.238 341.0);
Tailwind
colors: {
  custom: {
    50: '#f685d2',
    500: '#ec42be',
    950: '#000000',
  },
}
SCSS
$custom: #ec42be;
$custom-light: #f685d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec42be",
  "rgb": {
    "r": 236,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 316.235,
    "s": 81.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66524,
    "c": 0.23802,
    "h": 341
  },
  "luminance": 0.25447
}

Semantic roles & 50–950 ramp

primary
#EC42BE
secondary
#A4E6B6
accent
#F86630
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#180C14
muted
#867D82

Preview Lab

Preview with #EC42BE

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

Preview Lab → · Contrast checker → · Palette generator →

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