#EC7892#EC7892

#EC7892 is a light, vivid red. Relative luminance 0.333; OKLCH L 71.2% C 0.145 H 7.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#EC7892
RGBrgb(236, 120, 146)
HSLhsl(347, 75%, 70%)
HSVhsv(347, 49%, 93%)
CMYKcmyk(0%, 49.2%, 38.1%, 7.5%)
CIE-LABlab(64.44, 47.26, 6.87)
CIE-LCHlch(64.44, 47.75, 8.27°)
OKLaboklab(71.18% 0.1435 0.0183)
OKLCHoklch(71.18% 0.145 7.3)
XYZxyz(46.4993, 33.3456, 31.1760)
Luminance0.3334 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7892 #78ECD2
analogous
#EC78CC #EC7892 #EC9878
triadic
#EC7892 #92EC78 #7892EC
tetradic
#EC7892 #CCEC78 #78ECD2 #9878EC
square
#EC7892 #CCEC78 #78ECD2 #9878EC
split-complementary
#EC7892 #78EC98 #78CCEC
monochromatic
#CD1D44 #E44267 #EC7892 #F4AEBD #FBE3E9

Accessibility & contrast

On white

2.74
#EC7892 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#EC7892 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7892
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7892#FFFFFF#000000##000000
##EC78921.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8E93
Deuteranopia (green-blind)
#AAA58F
Tritanopia (blue-blind)
#FE6D81
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec7892;
/* rgb */ color: rgb(236, 120, 146);
/* oklch */ color: oklch(71.2% 0.145 7.3);
Tailwind
colors: {
  custom: {
    50: '#f6a2b1',
    500: '#ec7892',
    950: '#000000',
  },
}
SCSS
$custom: #ec7892;
$custom-light: #f6a2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7892",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 146
  },
  "hsl": {
    "h": 346.552,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71184,
    "c": 0.14467,
    "h": 7.3
  },
  "luminance": 0.33341
}

Semantic roles & 50–950 ramp

primary
#EC7892
secondary
#D0F0E9
accent
#D7AA0E
background
#FFFAFA
surface
#FFF4F5
border
#D7CECF
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7892

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

Preview Lab → · Contrast checker → · Palette generator →

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