#EC7BAF#EC7BAF

#EC7BAF is a light, vivid pink. Relative luminance 0.351; OKLCH L 72.5% C 0.150 H 352.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#EC7BAF
RGBrgb(236, 123, 175)
HSLhsl(332, 75%, 70%)
HSVhsv(332, 48%, 93%)
CMYKcmyk(0%, 47.9%, 25.8%, 7.5%)
CIE-LABlab(65.82, 49.35, -7.59)
CIE-LCHlch(65.82, 49.93, 351.26°)
OKLaboklab(72.49% 0.1489 -0.0195)
OKLCHoklch(72.49% 0.15 352.5)
XYZxyz(49.4145, 35.0980, 44.7212)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BAF #7BECB8
analogous
#EC7BE8 #EC7BAF #EC7F7B
triadic
#EC7BAF #AFEC7B #7BAFEC
tetradic
#EC7BAF #E8EC7B #7BECB8 #7F7BEC
square
#EC7BAF #E8EC7B #7BECB8 #7F7BEC
split-complementary
#EC7BAF #7BEC7F #7BE8EC
monochromatic
#CF1E6F #E4468F #EC7BAF #F4B0CF #FBE4EF

Accessibility & contrast

On white

2.62
#EC7BAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#EC7BAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BAF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BAF#FFFFFF#000000##000000
##EC7BAF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8994B1
Deuteranopia (green-blind)
#A6A7AC
Tritanopia (blue-blind)
#FB768E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec7baf;
/* rgb */ color: rgb(236, 123, 175);
/* oklch */ color: oklch(72.5% 0.150 352.5);
Tailwind
colors: {
  custom: {
    50: '#f5a4c6',
    500: '#ec7baf',
    950: '#000000',
  },
}
SCSS
$custom: #ec7baf;
$custom-light: #f5a4c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7baf",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 332.389,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72493,
    "c": 0.15013,
    "h": 352.5
  },
  "luminance": 0.35094
}

Semantic roles & 50–950 ramp

primary
#EC7BAF
secondary
#D2F1E3
accent
#D77B0F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC7BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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