#EC4B8E#EC4B8E

#EC4B8E is a light, highly saturated pink. Relative luminance 0.248; OKLCH L 65.5% C 0.204 H 358.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#EC4B8E
RGBrgb(236, 75, 142)
HSLhsl(335, 81%, 61%)
HSVhsv(335, 68%, 93%)
CMYKcmyk(0%, 68.2%, 39.8%, 7.5%)
CIE-LABlab(56.90, 66.58, -1.74)
CIE-LCHlch(56.90, 66.61, 358.50°)
OKLaboklab(65.52% 0.204 -0.0037)
OKLCHoklch(65.52% 0.204 358.9)
XYZxyz(41.9935, 24.8231, 28.1659)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4B8E #4BECA9
analogous
#EC4BDF #EC4B8E #EC584B
triadic
#EC4B8E #8EEC4B #4B8EEC
tetradic
#EC4B8E #DFEC4B #4BECA9 #584BEC
square
#EC4B8E #DFEC4B #4BECA9 #584BEC
split-complementary
#EC4B8E #4BEC58 #4BDFEC
monochromatic
#AB1252 #E2186C #EC4B8E #F282B1 #F8BAD4

Accessibility & contrast

On white

3.52
#EC4B8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#EC4B8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4B8E
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4B8E#FFFFFF#000000##000000
##EC4B8E1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7590
Deuteranopia (green-blind)
#96948A
Tritanopia (blue-blind)
#FF3867
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec4b8e;
/* rgb */ color: rgb(236, 75, 142);
/* oklch */ color: oklch(65.5% 0.204 358.9);
Tailwind
colors: {
  custom: {
    50: '#f788ae',
    500: '#ec4b8e',
    950: '#000000',
  },
}
SCSS
$custom: #ec4b8e;
$custom-light: #f788ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4b8e",
  "rgb": {
    "r": 236,
    "g": 75,
    "b": 142
  },
  "hsl": {
    "h": 335.031,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65517,
    "c": 0.20404,
    "h": 358.9
  },
  "luminance": 0.24818
}

Semantic roles & 50–950 ramp

primary
#EC4B8E
secondary
#ABE8CE
accent
#DD8508
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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