#EC7097#EC7097

#EC7097 is a light, vivid pink. Relative luminance 0.317; OKLCH L 70.2% C 0.157 H 2.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#EC7097
RGBrgb(236, 112, 151)
HSLhsl(341, 77%, 68%)
HSVhsv(341, 53%, 93%)
CMYKcmyk(0%, 52.5%, 36%, 7.5%)
CIE-LABlab(63.06, 51.71, 2.02)
CIE-LCHlch(63.06, 51.75, 2.24°)
OKLaboklab(70.19% 0.1573 0.0059)
OKLCHoklch(70.19% 0.157 2.2)
XYZxyz(45.9746, 31.6601, 32.9619)
Luminance0.3166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7097 #70ECC5
analogous
#EC70D5 #EC7097 #EC8770
triadic
#EC7097 #97EC70 #7097EC
tetradic
#EC7097 #D5EC70 #70ECC5 #8770EC
square
#EC7097 #D5EC70 #70ECC5 #8770EC
split-complementary
#EC7097 #70EC87 #70D5EC
monochromatic
#C71A51 #E53A70 #EC7097 #F3A6BE #FADCE6

Accessibility & contrast

On white

2.86
#EC7097 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#EC7097 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7097
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7097#FFFFFF#000000##000000
##EC70971.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#858A98
Deuteranopia (green-blind)
#A5A194
Tritanopia (blue-blind)
#FD657E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ec7097;
/* rgb */ color: rgb(236, 112, 151);
/* oklch */ color: oklch(70.2% 0.157 2.2);
Tailwind
colors: {
  custom: {
    50: '#f69db5',
    500: '#ec7097',
    950: '#000000',
  },
}
SCSS
$custom: #ec7097;
$custom-light: #f69db5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7097",
  "rgb": {
    "r": 236,
    "g": 112,
    "b": 151
  },
  "hsl": {
    "h": 341.129,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70188,
    "c": 0.15744,
    "h": 2.2
  },
  "luminance": 0.31656
}

Semantic roles & 50–950 ramp

primary
#EC7097
secondary
#C9EFE3
accent
#D9990D
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180F11
muted
#867E80

Preview Lab

Preview with #EC7097

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

Preview Lab → · Contrast checker → · Palette generator →

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