#EC8FA6#EC8FA6

#EC8FA6 is a light, moderate red. Relative luminance 0.402; OKLCH L 75.3% C 0.115 H 4.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#EC8FA6
RGBrgb(236, 143, 166)
HSLhsl(345, 71%, 74%)
HSVhsv(345, 39%, 93%)
CMYKcmyk(0%, 39.4%, 29.7%, 7.5%)
CIE-LABlab(69.64, 37.97, 3.07)
CIE-LCHlch(69.64, 38.09, 4.62°)
OKLaboklab(75.3% 0.115 0.0085)
OKLCHoklch(75.3% 0.115 4.2)
XYZxyz(51.2992, 40.2348, 41.1332)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FA6 #8FECD5
analogous
#EC8FD5 #EC8FA6 #ECA78F
triadic
#EC8FA6 #A6EC8F #8FA6EC
tetradic
#EC8FA6 #D5EC8F #8FECD5 #A78FEC
square
#EC8FA6 #D5EC8F #8FECD5 #A78FEC
split-complementary
#EC8FA6 #8FECA7 #8FD5EC
monochromatic
#DA2653 #E35B7C #EC8FA6 #F5C3D0 #FBE5EA

Accessibility & contrast

On white

2.32
#EC8FA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#EC8FA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FA6
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FA6#FFFFFF#000000##000000
##EC8FA61.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA0A7
Deuteranopia (green-blind)
#B4B1A4
Tritanopia (blue-blind)
#FB8897
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec8fa6;
/* rgb */ color: rgb(236, 143, 166);
/* oklch */ color: oklch(75.3% 0.115 4.2);
Tailwind
colors: {
  custom: {
    50: '#f4b1c0',
    500: '#ec8fa6',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fa6;
$custom-light: #f4b1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fa6",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 166
  },
  "hsl": {
    "h": 345.161,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75295,
    "c": 0.11531,
    "h": 4.2
  },
  "luminance": 0.40231
}

Semantic roles & 50–950 ramp

primary
#EC8FA6
secondary
#D9F2EC
accent
#D3A312
background
#FFFBFB
surface
#FFF6F7
border
#D7D0D0
text
#171112
muted
#858081

Preview Lab

Preview with #EC8FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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