#EC7158#EC7158

#EC7158 is a light, vivid red. Relative luminance 0.303; OKLCH L 68.9% C 0.158 H 33.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#EC7158
RGBrgb(236, 113, 88)
HSLhsl(10, 80%, 64%)
HSVhsv(10, 63%, 93%)
CMYKcmyk(0%, 52.1%, 62.7%, 7.5%)
CIE-LABlab(61.96, 45.61, 36.27)
CIE-LCHlch(61.96, 58.27, 38.50°)
OKLaboklab(68.93% 0.1322 0.0857)
OKLCHoklch(68.93% 0.158 33)
XYZxyz(42.2624, 30.3528, 12.8637)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7158 #58D3EC
analogous
#EC5889 #EC7158 #ECBB58
triadic
#EC7158 #58EC71 #7158EC
tetradic
#EC7158 #89EC58 #58D3EC #BB58EC
square
#EC7158 #89EC58 #58D3EC #BB58EC
split-complementary
#EC7158 #58ECBB #5889EC
monochromatic
#B53015 #E64221 #EC7158 #F2A08F #F9CEC6

Accessibility & contrast

On white

2.97
#EC7158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#EC7158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7158
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7158#FFFFFF#000000##000000
##EC71581.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918555
Deuteranopia (green-blind)
#AFA055
Tritanopia (blue-blind)
#FF5A6B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec7158;
/* rgb */ color: rgb(236, 113, 88);
/* oklch */ color: oklch(68.9% 0.158 33.0);
Tailwind
colors: {
  custom: {
    50: '#f89d87',
    500: '#ec7158',
    950: '#000000',
  },
}
SCSS
$custom: #ec7158;
$custom-light: #f89d87;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7158",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 88
  },
  "hsl": {
    "h": 10.135,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68933,
    "c": 0.15755,
    "h": 33
  },
  "luminance": 0.30348
}

Semantic roles & 50–950 ramp

primary
#EC7158
secondary
#B6E1EA
accent
#B8DC0A
background
#FFF9F8
surface
#FFF2EF
border
#D7CCCA
text
#180E0B
muted
#867E7C

Preview Lab

Preview with #EC7158

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

Preview Lab → · Contrast checker → · Palette generator →

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