#EC8397#EC8397

#EC8397 is a light, vivid red. Relative luminance 0.363; OKLCH L 73.0% C 0.130 H 8.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#EC8397
RGBrgb(236, 131, 151)
HSLhsl(349, 73%, 72%)
HSVhsv(349, 44%, 93%)
CMYKcmyk(0%, 44.5%, 36%, 7.5%)
CIE-LABlab(66.75, 42.30, 7.34)
CIE-LCHlch(66.75, 42.93, 9.85°)
OKLaboklab(72.98% 0.1283 0.0195)
OKLCHoklch(72.98% 0.13 8.6)
XYZxyz(48.2965, 36.3041, 33.7359)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8397 #83ECD8
analogous
#EC83CC #EC8397 #ECA383
triadic
#EC8397 #97EC83 #8397EC
tetradic
#EC8397 #CCEC83 #83ECD8 #A383EC
square
#EC8397 #CCEC83 #83ECD8 #A383EC
split-complementary
#EC8397 #83ECA3 #83CCEC
monochromatic
#D42043 #E44E6A #EC8397 #F4B8C4 #FBE4E9

Accessibility & contrast

On white

2.54
#EC8397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#EC8397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8397
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8397#FFFFFF#000000##000000
##EC83971.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#969697
Deuteranopia (green-blind)
#B0AA95
Tritanopia (blue-blind)
#FD798A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec8397;
/* rgb */ color: rgb(236, 131, 151);
/* oklch */ color: oklch(73.0% 0.130 8.6);
Tailwind
colors: {
  custom: {
    50: '#f5a9b5',
    500: '#ec8397',
    950: '#000000',
  },
}
SCSS
$custom: #ec8397;
$custom-light: #f5a9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8397",
  "rgb": {
    "r": 236,
    "g": 131,
    "b": 151
  },
  "hsl": {
    "h": 348.571,
    "s": 73.427,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72976,
    "c": 0.12981,
    "h": 8.6
  },
  "luminance": 0.363
}

Semantic roles & 50–950 ramp

primary
#EC8397
secondary
#D8F3EE
accent
#D6B010
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171011
muted
#857F80

Preview Lab

Preview with #EC8397

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

Preview Lab → · Contrast checker → · Palette generator →

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