#EC6291#EC6291

#EC6291 is a light, vivid pink. Relative luminance 0.286; OKLCH L 68.2% C 0.175 H 1.6°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#EC6291
RGBrgb(236, 98, 145)
HSLhsl(340, 78%, 65%)
HSVhsv(340, 58%, 93%)
CMYKcmyk(0%, 58.5%, 38.6%, 7.5%)
CIE-LABlab(60.44, 57.51, 1.68)
CIE-LCHlch(60.44, 57.54, 1.67°)
OKLaboklab(68.17% 0.1754 0.0051)
OKLCHoklch(68.17% 0.175 1.6)
XYZxyz(44.0733, 28.6174, 29.9853)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6291 #62ECBD
analogous
#EC62D6 #EC6291 #EC7862
triadic
#EC6291 #91EC62 #6291EC
tetradic
#EC6291 #D6EC62 #62ECBD #7862EC
square
#EC6291 #D6EC62 #62ECBD #7862EC
split-complementary
#EC6291 #62EC78 #62D6EC
monochromatic
#BD174F #E52B6B #EC6291 #F399B7 #F9CFDD

Accessibility & contrast

On white

3.12
#EC6291 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#EC6291 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC6291
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6291#FFFFFF#000000##000000
##EC62911.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8192
Deuteranopia (green-blind)
#9F9C8E
Tritanopia (blue-blind)
#FE5474
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec6291;
/* rgb */ color: rgb(236, 98, 145);
/* oklch */ color: oklch(68.2% 0.175 1.6);
Tailwind
colors: {
  custom: {
    50: '#f694b1',
    500: '#ec6291',
    950: '#000000',
  },
}
SCSS
$custom: #ec6291;
$custom-light: #f694b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6291",
  "rgb": {
    "r": 236,
    "g": 98,
    "b": 145
  },
  "hsl": {
    "h": 339.565,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68173,
    "c": 0.17548,
    "h": 1.6
  },
  "luminance": 0.28613
}

Semantic roles & 50–950 ramp

primary
#EC6291
secondary
#BEECDC
accent
#DB940B
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E10
muted
#867E7F

Preview Lab

Preview with #EC6291

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

Preview Lab → · Contrast checker → · Palette generator →

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