#EC6CAB#EC6CAB

#EC6CAB is a light, vivid pink. Relative luminance 0.315; OKLCH L 70.3% C 0.171 H 351.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#EC6CAB
RGBrgb(236, 108, 171)
HSLhsl(330, 77%, 67%)
HSVhsv(330, 54%, 93%)
CMYKcmyk(0%, 54.2%, 27.5%, 7.5%)
CIE-LABlab(62.93, 56.03, -9.63)
CIE-LCHlch(62.93, 56.85, 350.25°)
OKLaboklab(70.28% 0.1696 -0.0248)
OKLCHoklch(70.28% 0.171 351.7)
XYZxyz(47.3071, 31.5026, 42.1093)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6CAB #6CECAD
analogous
#EC6CEB #EC6CAB #EC6D6C
triadic
#EC6CAB #ABEC6C #6CABEC
tetradic
#EC6CAB #EBEC6C #6CECAD #6D6CEC
square
#EC6CAB #EBEC6C #6CECAD #6D6CEC
split-complementary
#EC6CAB #6CEC6D #6CEBEC
monochromatic
#C4196D #E5368C #EC6CAB #F3A2CA #FAD8E9

Accessibility & contrast

On white

2.88
#EC6CAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#EC6CAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6CAB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6CAB#FFFFFF#000000##000000
##EC6CAB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAD
Deuteranopia (green-blind)
#9FA1A8
Tritanopia (blue-blind)
#FB6684
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec6cab;
/* rgb */ color: rgb(236, 108, 171);
/* oklch */ color: oklch(70.3% 0.171 351.7);
Tailwind
colors: {
  custom: {
    50: '#f59bc4',
    500: '#ec6cab',
    950: '#000000',
  },
}
SCSS
$custom: #ec6cab;
$custom-light: #f59bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6cab",
  "rgb": {
    "r": 236,
    "g": 108,
    "b": 171
  },
  "hsl": {
    "h": 330.469,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70283,
    "c": 0.17141,
    "h": 351.7
  },
  "luminance": 0.31498
}

Semantic roles & 50–950 ramp

primary
#EC6CAB
secondary
#C6EEDA
accent
#D9740C
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E12
muted
#867E81

Preview Lab

Preview with #EC6CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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