#EC6198#EC6198

#EC6198 is a light, vivid pink. Relative luminance 0.286; OKLCH L 68.3% C 0.179 H 358.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#EC6198
RGBrgb(236, 97, 152)
HSLhsl(336, 79%, 65%)
HSVhsv(336, 59%, 93%)
CMYKcmyk(0%, 58.9%, 35.6%, 7.5%)
CIE-LABlab(60.48, 58.72, -2.33)
CIE-LCHlch(60.48, 58.77, 357.72°)
OKLaboklab(68.26% 0.1791 -0.0054)
OKLCHoklch(68.26% 0.179 358.3)
XYZxyz(44.5367, 28.6540, 32.8850)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6198 #61ECB5
analogous
#EC61DD #EC6198 #EC6F61
triadic
#EC6198 #98EC61 #6198EC
tetradic
#EC6198 #DDEC61 #61ECB5 #6F61EC
square
#EC6198 #DDEC61 #61ECB5 #6F61EC
split-complementary
#EC6198 #61EC6F #61DDEC
monochromatic
#BC1758 #E52A74 #EC6198 #F398BC #F9CEDF

Accessibility & contrast

On white

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

On black

6.73
#EC6198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC6198
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6198#FFFFFF#000000##000000
##EC61981.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78819A
Deuteranopia (green-blind)
#9D9C95
Tritanopia (blue-blind)
#FE5576
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec6198;
/* rgb */ color: rgb(236, 97, 152);
/* oklch */ color: oklch(68.3% 0.179 358.3);
Tailwind
colors: {
  custom: {
    50: '#f694b6',
    500: '#ec6198',
    950: '#000000',
  },
}
SCSS
$custom: #ec6198;
$custom-light: #f694b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6198",
  "rgb": {
    "r": 236,
    "g": 97,
    "b": 152
  },
  "hsl": {
    "h": 336.259,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68263,
    "c": 0.1792,
    "h": 358.3
  },
  "luminance": 0.28649
}

Semantic roles & 50–950 ramp

primary
#EC6198
secondary
#BDECD9
accent
#DB880B
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E11
muted
#867E80

Preview Lab

Preview with #EC6198

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

Preview Lab → · Contrast checker → · Palette generator →

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