#EC6158#EC6158

#EC6158 is a light, vivid red. Relative luminance 0.271; OKLCH L 66.7% C 0.174 H 26.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#EC6158
RGBrgb(236, 97, 88)
HSLhsl(4, 80%, 64%)
HSVhsv(4, 63%, 93%)
CMYKcmyk(0%, 58.9%, 62.7%, 7.5%)
CIE-LABlab(59.06, 53.13, 32.68)
CIE-LCHlch(59.06, 62.37, 31.60°)
OKLaboklab(66.74% 0.1556 0.0777)
OKLCHoklch(66.74% 0.174 26.5)
XYZxyz(40.6321, 27.0921, 12.3203)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6158 #58E3EC
analogous
#EC5899 #EC6158 #ECAB58
triadic
#EC6158 #58EC61 #6158EC
tetradic
#EC6158 #99EC58 #58E3EC #AB58EC
square
#EC6158 #99EC58 #58E3EC #AB58EC
split-complementary
#EC6158 #58ECAB #5899EC
monochromatic
#B51E15 #E62D21 #EC6158 #F2958F #F9C9C6

Accessibility & contrast

On white

3.27
#EC6158 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#EC6158 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC6158
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6158#FFFFFF#000000##000000
##EC61581.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857B56
Deuteranopia (green-blind)
#A79955
Tritanopia (blue-blind)
#FF4560
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec6158;
/* rgb */ color: rgb(236, 97, 88);
/* oklch */ color: oklch(66.7% 0.174 26.5);
Tailwind
colors: {
  custom: {
    50: '#f99387',
    500: '#ec6158',
    950: '#000000',
  },
}
SCSS
$custom: #ec6158;
$custom-light: #f99387;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6158",
  "rgb": {
    "r": 236,
    "g": 97,
    "b": 88
  },
  "hsl": {
    "h": 3.649,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6674,
    "c": 0.17395,
    "h": 26.5
  },
  "luminance": 0.27087
}

Semantic roles & 50–950 ramp

primary
#EC6158
secondary
#B6E7EA
accent
#CFDC0A
background
#FFF9F8
surface
#FFF2EF
border
#D7CCCA
text
#190D0B
muted
#877E7C

Preview Lab

Preview with #EC6158

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

Preview Lab → · Contrast checker → · Palette generator →

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