#EC7A8D#EC7A8D

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

Color values

HEX#EC7A8D
RGBrgb(236, 122, 141)
HSLhsl(350, 75%, 70%)
HSVhsv(350, 48%, 93%)
CMYKcmyk(0%, 48.3%, 40.3%, 7.5%)
CIE-LABlab(64.71, 45.71, 10.10)
CIE-LCHlch(64.71, 46.82, 12.46°)
OKLaboklab(71.35% 0.1386 0.0264)
OKLCHoklch(71.35% 0.141 10.8)
XYZxyz(46.3619, 33.6795, 29.2533)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7A8D #7AECD9
analogous
#EC7AC6 #EC7A8D #ECA07A
triadic
#EC7A8D #8DEC7A #7A8DEC
tetradic
#EC7A8D #C6EC7A #7AECD9 #A07AEC
square
#EC7A8D #C6EC7A #7AECD9 #A07AEC
split-complementary
#EC7A8D #7AECA0 #7AC6EC
monochromatic
#CE1D3B #E4445F #EC7A8D #F4B0BB #FBE4E8

Accessibility & contrast

On white

2.71
#EC7A8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#EC7A8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7A8D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7A8D#FFFFFF#000000##000000
##EC7A8D1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908F8D
Deuteranopia (green-blind)
#ACA58B
Tritanopia (blue-blind)
#FE6E81
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec7a8d;
/* rgb */ color: rgb(236, 122, 141);
/* oklch */ color: oklch(71.3% 0.141 10.8);
Tailwind
colors: {
  custom: {
    50: '#f6a3ae',
    500: '#ec7a8d',
    950: '#000000',
  },
}
SCSS
$custom: #ec7a8d;
$custom-light: #f6a3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7a8d",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 141
  },
  "hsl": {
    "h": 350,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71347,
    "c": 0.14109,
    "h": 10.8
  },
  "luminance": 0.33675
}

Semantic roles & 50–950 ramp

primary
#EC7A8D
secondary
#D1F1EB
accent
#D7B60E
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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