#EC8AAF#EC8AAF

#EC8AAF is a light, vivid pink. Relative luminance 0.391; OKLCH L 74.8% C 0.126 H 356.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#EC8AAF
RGBrgb(236, 138, 175)
HSLhsl(337, 72%, 73%)
HSVhsv(337, 42%, 93%)
CMYKcmyk(0%, 41.5%, 25.8%, 7.5%)
CIE-LABlab(68.83, 41.77, -3.15)
CIE-LCHlch(68.83, 41.88, 355.69°)
OKLaboklab(74.76% 0.126 -0.0077)
OKLCHoklch(74.76% 0.126 356.5)
XYZxyz(51.4199, 39.1088, 45.3896)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8AAF #8AECC7
analogous
#EC8AE0 #EC8AAF #EC968A
triadic
#EC8AAF #AFEC8A #8AAFEC
tetradic
#EC8AAF #E0EC8A #8AECC7 #968AEC
square
#EC8AAF #E0EC8A #8AECC7 #968AEC
split-complementary
#EC8AAF #8AEC96 #8AE0EC
monochromatic
#D82368 #E3558B #EC8AAF #F5BFD3 #FBE5ED

Accessibility & contrast

On white

2.38
#EC8AAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#EC8AAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8AAF
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8AAF#FFFFFF#000000##000000
##EC8AAF1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#979DB0
Deuteranopia (green-blind)
#AFAFAD
Tritanopia (blue-blind)
#FA8597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec8aaf;
/* rgb */ color: rgb(236, 138, 175);
/* oklch */ color: oklch(74.8% 0.126 356.5);
Tailwind
colors: {
  custom: {
    50: '#f4aec6',
    500: '#ec8aaf',
    950: '#000000',
  },
}
SCSS
$custom: #ec8aaf;
$custom-light: #f4aec6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8aaf",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 337.347,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74763,
    "c": 0.1262,
    "h": 356.5
  },
  "luminance": 0.39105
}

Semantic roles & 50–950 ramp

primary
#EC8AAF
secondary
#D9F2E9
accent
#D48B11
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EC8AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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