#EC9FB2#EC9FB2

#EC9FB2 is a light, moderate red. Relative luminance 0.458; OKLCH L 78.3% C 0.094 H 3.3°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#EC9FB2
RGBrgb(236, 159, 178)
HSLhsl(345, 67%, 77%)
HSVhsv(345, 33%, 93%)
CMYKcmyk(0%, 32.6%, 24.6%, 7.5%)
CIE-LABlab(73.45, 31.18, 1.94)
CIE-LCHlch(73.45, 31.24, 3.55°)
OKLaboklab(78.31% 0.0942 0.0055)
OKLCHoklch(78.31% 0.094 3.3)
XYZxyz(55.0272, 45.8468, 48.0618)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9FB2 #9FECD9
analogous
#EC9FD8 #EC9FB2 #ECB39F
triadic
#EC9FB2 #B2EC9F #9FB2EC
tetradic
#EC9FB2 #D8EC9F #9FECD9 #B39FEC
square
#EC9FB2 #D8EC9F #9FECD9 #B39FEC
split-complementary
#EC9FB2 #9FECB3 #9FD8EC
monochromatic
#D83960 #E26C89 #EC9FB2 #F6D2DB #FAE5EB

Accessibility & contrast

On white

2.07
#EC9FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#EC9FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9FB2
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9FB2#FFFFFF#000000##000000
##EC9FB21.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAACB3
Deuteranopia (green-blind)
#BCBAB0
Tritanopia (blue-blind)
#F99AA6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ec9fb2;
/* rgb */ color: rgb(236, 159, 178);
/* oklch */ color: oklch(78.3% 0.094 3.3);
Tailwind
colors: {
  custom: {
    50: '#f3bcc9',
    500: '#ec9fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ec9fb2;
$custom-light: #f3bcc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9fb2",
  "rgb": {
    "r": 236,
    "g": 159,
    "b": 178
  },
  "hsl": {
    "h": 345.195,
    "s": 66.957,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78311,
    "c": 0.09431,
    "h": 3.3
  },
  "luminance": 0.45843
}

Semantic roles & 50–950 ramp

primary
#EC9FB2
secondary
#DAF1EC
accent
#CFA117
background
#FFFBFC
surface
#FEF6F8
border
#D6D0D1
text
#171213
muted
#858182

Preview Lab

Preview with #EC9FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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