#EC7186#EC7186

#EC7186 is a light, vivid red. Relative luminance 0.314; OKLCH L 69.9% C 0.153 H 11.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#EC7186
RGBrgb(236, 113, 134)
HSLhsl(350, 76%, 68%)
HSVhsv(350, 52%, 93%)
CMYKcmyk(0%, 52.1%, 43.2%, 7.5%)
CIE-LABlab(62.82, 49.40, 11.42)
CIE-LCHlch(62.82, 50.70, 13.02°)
OKLaboklab(69.86% 0.1497 0.0297)
OKLCHoklch(69.86% 0.153 11.2)
XYZxyz(44.8031, 31.3691, 26.2450)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7186 #71ECD7
analogous
#EC71C3 #EC7186 #EC9971
triadic
#EC7186 #86EC71 #7186EC
tetradic
#EC7186 #C3EC71 #71ECD7 #9971EC
square
#EC7186 #C3EC71 #71ECD7 #9971EC
split-complementary
#EC7186 #71EC99 #71C3EC
monochromatic
#C81B38 #E53B58 #EC7186 #F3A7B4 #FADDE2

Accessibility & contrast

On white

2.89
#EC7186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#EC7186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7186
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7186#FFFFFF#000000##000000
##EC71861.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8986
Deuteranopia (green-blind)
#A9A183
Tritanopia (blue-blind)
#FF6279
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec7186;
/* rgb */ color: rgb(236, 113, 134);
/* oklch */ color: oklch(69.9% 0.153 11.2);
Tailwind
colors: {
  custom: {
    50: '#f69da9',
    500: '#ec7186',
    950: '#000000',
  },
}
SCSS
$custom: #ec7186;
$custom-light: #f69da9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7186",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 134
  },
  "hsl": {
    "h": 349.756,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69865,
    "c": 0.1526,
    "h": 11.2
  },
  "luminance": 0.31364
}

Semantic roles & 50–950 ramp

primary
#EC7186
secondary
#CAEFE9
accent
#D9B60D
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180F0F
muted
#867E7F

Preview Lab

Preview with #EC7186

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

Preview Lab → · Contrast checker → · Palette generator →

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