#EC7C8A#EC7C8A

#EC7C8A is a light, vivid red. Relative luminance 0.341; OKLCH L 71.6% C 0.138 H 13.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#EC7C8A
RGBrgb(236, 124, 138)
HSLhsl(353, 75%, 71%)
HSVhsv(353, 47%, 93%)
CMYKcmyk(0%, 47.5%, 41.5%, 7.5%)
CIE-LABlab(65.03, 44.39, 12.26)
CIE-LCHlch(65.03, 46.05, 15.44°)
OKLaboklab(71.57% 0.1344 0.0318)
OKLCHoklch(71.57% 0.138 13.3)
XYZxyz(46.3898, 34.0877, 28.1763)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7C8A #7CECDE
analogous
#EC7CC2 #EC7C8A #ECA67C
triadic
#EC7C8A #8AEC7C #7C8AEC
tetradic
#EC7C8A #C2EC7C #7CECDE #A67CEC
square
#EC7C8A #C2EC7C #7CECDE #A67CEC
split-complementary
#EC7C8A #7CECA6 #7CC2EC
monochromatic
#D01E34 #E4475A #EC7C8A #F4B1BA #FBE4E7

Accessibility & contrast

On white

2.69
#EC7C8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#EC7C8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7C8A
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7C8A#FFFFFF#000000##000000
##EC7C8A1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92908A
Deuteranopia (green-blind)
#AEA688
Tritanopia (blue-blind)
#FE6F81
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec7c8a;
/* rgb */ color: rgb(236, 124, 138);
/* oklch */ color: oklch(71.6% 0.138 13.3);
Tailwind
colors: {
  custom: {
    50: '#f6a4ac',
    500: '#ec7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #ec7c8a;
$custom-light: #f6a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7c8a",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 352.5,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7157,
    "c": 0.13808,
    "h": 13.3
  },
  "luminance": 0.34083
}

Semantic roles & 50–950 ramp

primary
#EC7C8A
secondary
#D3F1ED
accent
#D7BE0F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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