#EC8BA2#EC8BA2

#EC8BA2 is a light, vivid red. Relative luminance 0.389; OKLCH L 74.5% C 0.120 H 5.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#EC8BA2
RGBrgb(236, 139, 162)
HSLhsl(346, 72%, 74%)
HSVhsv(346, 41%, 93%)
CMYKcmyk(0%, 41.1%, 31.4%, 7.5%)
CIE-LABlab(68.69, 39.53, 3.93)
CIE-LCHlch(68.69, 39.73, 5.68°)
OKLaboklab(74.54% 0.1198 0.0108)
OKLCHoklch(74.54% 0.12 5.1)
XYZxyz(50.3481, 38.9107, 39.0342)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BA2 #8BECD5
analogous
#EC8BD2 #EC8BA2 #ECA48B
triadic
#EC8BA2 #A2EC8B #8BA2EC
tetradic
#EC8BA2 #D2EC8B #8BECD5 #A48BEC
square
#EC8BA2 #D2EC8B #8BECD5 #A48BEC
split-complementary
#EC8BA2 #8BECA4 #8BD2EC
monochromatic
#D9244F #E35678 #EC8BA2 #F5C0CC #FBE5EA

Accessibility & contrast

On white

2.39
#EC8BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#EC8BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BA2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BA2#FFFFFF#000000##000000
##EC8BA21.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9DA3
Deuteranopia (green-blind)
#B2AEA0
Tritanopia (blue-blind)
#FB8393
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec8ba2;
/* rgb */ color: rgb(236, 139, 162);
/* oklch */ color: oklch(74.5% 0.120 5.1);
Tailwind
colors: {
  custom: {
    50: '#f4aebd',
    500: '#ec8ba2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ba2;
$custom-light: #f4aebd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ba2",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 162
  },
  "hsl": {
    "h": 345.773,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74538,
    "c": 0.12031,
    "h": 5.1
  },
  "luminance": 0.38907
}

Semantic roles & 50–950 ramp

primary
#EC8BA2
secondary
#D9F2EC
accent
#D4A612
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC8BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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