#EC7F8A#EC7F8A

#EC7F8A is a light, vivid red. Relative luminance 0.348; OKLCH L 72.0% C 0.134 H 14.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#EC7F8A
RGBrgb(236, 127, 138)
HSLhsl(354, 74%, 71%)
HSVhsv(354, 46%, 93%)
CMYKcmyk(0%, 46.2%, 41.5%, 7.5%)
CIE-LABlab(65.63, 42.88, 13.10)
CIE-LCHlch(65.63, 44.84, 16.99°)
OKLaboklab(72.02% 0.1297 0.0339)
OKLCHoklch(72.02% 0.134 14.6)
XYZxyz(46.7715, 34.8511, 28.3035)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7F8A #7FECE1
analogous
#EC7FC0 #EC7F8A #ECAA7F
triadic
#EC7F8A #8AEC7F #7F8AEC
tetradic
#EC7F8A #C0EC7F #7FECE1 #AA7FEC
square
#EC7F8A #C0EC7F #7FECE1 #AA7FEC
split-complementary
#EC7F8A #7FECAA #7FC0EC
monochromatic
#D21F31 #E44A59 #EC7F8A #F4B4BB #FBE4E7

Accessibility & contrast

On white

2.64
#EC7F8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#EC7F8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7F8A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7F8A#FFFFFF#000000##000000
##EC7F8A1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95928A
Deuteranopia (green-blind)
#B0A888
Tritanopia (blue-blind)
#FE7283
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec7f8a;
/* rgb */ color: rgb(236, 127, 138);
/* oklch */ color: oklch(72.0% 0.134 14.6);
Tailwind
colors: {
  custom: {
    50: '#f6a6ac',
    500: '#ec7f8a',
    950: '#000000',
  },
}
SCSS
$custom: #ec7f8a;
$custom-light: #f6a6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7f8a",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 353.945,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72025,
    "c": 0.13406,
    "h": 14.6
  },
  "luminance": 0.34847
}

Semantic roles & 50–950 ramp

primary
#EC7F8A
secondary
#D5F2EF
accent
#D6C20F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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