#EC7A8A#EC7A8A

#EC7A8A is a light, vivid red. Relative luminance 0.336; OKLCH L 71.3% C 0.141 H 12.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#EC7A8A
RGBrgb(236, 122, 138)
HSLhsl(352, 75%, 70%)
HSVhsv(352, 48%, 93%)
CMYKcmyk(0%, 48.3%, 41.5%, 7.5%)
CIE-LABlab(64.64, 45.39, 11.70)
CIE-LCHlch(64.64, 46.88, 14.46°)
OKLaboklab(71.27% 0.1375 0.0304)
OKLCHoklch(71.27% 0.141 12.5)
XYZxyz(46.1417, 33.5915, 28.0936)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7A8A #7AECDC
analogous
#EC7AC3 #EC7A8A #ECA37A
triadic
#EC7A8A #8AEC7A #7A8AEC
tetradic
#EC7A8A #C3EC7A #7AECDC #A37AEC
square
#EC7A8A #C3EC7A #7AECDC #A37AEC
split-complementary
#EC7A8A #7AECA3 #7AC3EC
monochromatic
#CE1D36 #E4445B #EC7A8A #F4B0B9 #FBE4E7

Accessibility & contrast

On white

2.72
#EC7A8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#EC7A8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7A8A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7A8A#FFFFFF#000000##000000
##EC7A8A1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908F8A
Deuteranopia (green-blind)
#ADA588
Tritanopia (blue-blind)
#FE6D80
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec7a8a;
/* rgb */ color: rgb(236, 122, 138);
/* oklch */ color: oklch(71.3% 0.141 12.5);
Tailwind
colors: {
  custom: {
    50: '#f6a3ac',
    500: '#ec7a8a',
    950: '#000000',
  },
}
SCSS
$custom: #ec7a8a;
$custom-light: #f6a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7a8a",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 351.579,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7127,
    "c": 0.14079,
    "h": 12.5
  },
  "luminance": 0.33587
}

Semantic roles & 50–950 ramp

primary
#EC7A8A
secondary
#D1F1EC
accent
#D7BB0E
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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