#EC4B8F#EC4B8F

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

Color values

HEX#EC4B8F
RGBrgb(236, 75, 143)
HSLhsl(335, 81%, 61%)
HSVhsv(335, 68%, 93%)
CMYKcmyk(0%, 68.2%, 39.4%, 7.5%)
CIE-LABlab(56.93, 66.68, -2.28)
CIE-LCHlch(56.93, 66.72, 358.04°)
OKLaboklab(65.55% 0.2043 -0.0052)
OKLCHoklch(65.55% 0.204 358.6)
XYZxyz(42.0689, 24.8533, 28.5631)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4B8F #4BECA8
analogous
#EC4BE0 #EC4B8F #EC574B
triadic
#EC4B8F #8FEC4B #4B8FEC
tetradic
#EC4B8F #E0EC4B #4BECA8 #574BEC
square
#EC4B8F #E0EC4B #4BECA8 #574BEC
split-complementary
#EC4B8F #4BEC57 #4BE0EC
monochromatic
#AB1252 #E2186D #EC4B8F #F282B1 #F8BAD4

Accessibility & contrast

On white

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

On black

5.97
#EC4B8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4B8F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4B8F#FFFFFF#000000##000000
##EC4B8F1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7591
Deuteranopia (green-blind)
#96948B
Tritanopia (blue-blind)
#FF3967
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec4b8f;
/* rgb */ color: rgb(236, 75, 143);
/* oklch */ color: oklch(65.5% 0.204 358.6);
Tailwind
colors: {
  custom: {
    50: '#f788af',
    500: '#ec4b8f',
    950: '#000000',
  },
}
SCSS
$custom: #ec4b8f;
$custom-light: #f788af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4b8f",
  "rgb": {
    "r": 236,
    "g": 75,
    "b": 143
  },
  "hsl": {
    "h": 334.658,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65549,
    "c": 0.2044,
    "h": 358.6
  },
  "luminance": 0.24848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC4B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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