#EC799B#EC799B

#EC799B is a light, vivid pink. Relative luminance 0.339; OKLCH L 71.6% C 0.145 H 2.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#EC799B
RGBrgb(236, 121, 155)
HSLhsl(342, 75%, 70%)
HSVhsv(342, 49%, 93%)
CMYKcmyk(0%, 48.7%, 34.3%, 7.5%)
CIE-LABlab(64.87, 47.80, 2.36)
CIE-LCHlch(64.87, 47.86, 2.82°)
OKLaboklab(71.58% 0.1452 0.0068)
OKLCHoklch(71.58% 0.145 2.7)
XYZxyz(47.3481, 33.8786, 35.0496)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC799B #79ECCA
analogous
#EC79D4 #EC799B #EC9179
triadic
#EC799B #9BEC79 #799BEC
tetradic
#EC799B #D4EC79 #79ECCA #9179EC
square
#EC799B #D4EC79 #79ECCA #9179EC
split-complementary
#EC799B #79EC91 #79D4EC
monochromatic
#CD1D51 #E44373 #EC799B #F4AFC3 #FBE4EB

Accessibility & contrast

On white

2.70
#EC799B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#EC799B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC799B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC799B#FFFFFF#000000##000000
##EC799B1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C909C
Deuteranopia (green-blind)
#A9A698
Tritanopia (blue-blind)
#FD7085
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec799b;
/* rgb */ color: rgb(236, 121, 155);
/* oklch */ color: oklch(71.6% 0.145 2.7);
Tailwind
colors: {
  custom: {
    50: '#f5a2b8',
    500: '#ec799b',
    950: '#000000',
  },
}
SCSS
$custom: #ec799b;
$custom-light: #f5a2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec799b",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 342.261,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71583,
    "c": 0.14537,
    "h": 2.7
  },
  "luminance": 0.33874
}

Semantic roles & 50–950 ramp

primary
#EC799B
secondary
#D0F0E7
accent
#D79C0E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F11
muted
#857F80

Preview Lab

Preview with #EC799B

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

Preview Lab → · Contrast checker → · Palette generator →

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