#EC7A93#EC7A93

#EC7A93 is a light, vivid red. Relative luminance 0.339; OKLCH L 71.5% C 0.142 H 7.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#EC7A93
RGBrgb(236, 122, 147)
HSLhsl(347, 75%, 70%)
HSVhsv(347, 48%, 93%)
CMYKcmyk(0%, 48.3%, 37.7%, 7.5%)
CIE-LABlab(64.85, 46.38, 6.89)
CIE-LCHlch(64.85, 46.89, 8.45°)
OKLaboklab(71.51% 0.1408 0.0184)
OKLCHoklch(71.51% 0.142 7.4)
XYZxyz(46.8205, 33.8630, 31.6685)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7A93 #7AECD3
analogous
#EC7ACC #EC7A93 #EC9A7A
triadic
#EC7A93 #93EC7A #7A93EC
tetradic
#EC7A93 #CCEC7A #7AECD3 #9A7AEC
square
#EC7A93 #CCEC7A #7AECD3 #9A7AEC
split-complementary
#EC7A93 #7AEC9A #7ACCEC
monochromatic
#CE1D44 #E44468 #EC7A93 #F4B0BE #FBE4E9

Accessibility & contrast

On white

2.70
#EC7A93 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#EC7A93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7A93
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7A93#FFFFFF#000000##000000
##EC7A931.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9094
Deuteranopia (green-blind)
#ABA691
Tritanopia (blue-blind)
#FD6F83
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec7a93;
/* rgb */ color: rgb(236, 122, 147);
/* oklch */ color: oklch(71.5% 0.142 7.4);
Tailwind
colors: {
  custom: {
    50: '#f5a3b2',
    500: '#ec7a93',
    950: '#000000',
  },
}
SCSS
$custom: #ec7a93;
$custom-light: #f5a3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7a93",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 147
  },
  "hsl": {
    "h": 346.842,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71505,
    "c": 0.142,
    "h": 7.4
  },
  "luminance": 0.33859
}

Semantic roles & 50–950 ramp

primary
#EC7A93
secondary
#D1F1EA
accent
#D7AB0E
background
#FFFAFA
surface
#FFF4F5
border
#D7CECF
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7A93

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

Preview Lab → · Contrast checker → · Palette generator →

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