#EC8FB3#EC8FB3

#EC8FB3 is a light, moderate pink. Relative luminance 0.407; OKLCH L 75.7% C 0.120 H 355.6°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#EC8FB3
RGBrgb(236, 143, 179)
HSLhsl(337, 71%, 74%)
HSVhsv(337, 39%, 93%)
CMYKcmyk(0%, 39.4%, 24.2%, 7.5%)
CIE-LABlab(69.99, 39.73, -3.67)
CIE-LCHlch(69.99, 39.90, 354.72°)
OKLaboklab(75.68% 0.1196 -0.0092)
OKLCHoklch(75.68% 0.12 355.6)
XYZxyz(52.5525, 40.7361, 47.7340)
Luminance0.4073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FB3 #8FECC8
analogous
#EC8FE2 #EC8FB3 #EC9A8F
triadic
#EC8FB3 #B3EC8F #8FB3EC
tetradic
#EC8FB3 #E2EC8F #8FECC8 #9A8FEC
square
#EC8FB3 #E2EC8F #8FECC8 #9A8FEC
split-complementary
#EC8FB3 #8FEC9A #8FE2EC
monochromatic
#DA266C #E35B8F #EC8FB3 #F5C3D7 #FBE5ED

Accessibility & contrast

On white

2.30
#EC8FB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#EC8FB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FB3
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FB3#FFFFFF#000000##000000
##EC8FB31.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA1B4
Deuteranopia (green-blind)
#B1B1B1
Tritanopia (blue-blind)
#F98B9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec8fb3;
/* rgb */ color: rgb(236, 143, 179);
/* oklch */ color: oklch(75.7% 0.120 355.6);
Tailwind
colors: {
  custom: {
    50: '#f4b1c9',
    500: '#ec8fb3',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fb3;
$custom-light: #f4b1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fb3",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 179
  },
  "hsl": {
    "h": 336.774,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75682,
    "c": 0.1199,
    "h": 355.6
  },
  "luminance": 0.40732
}

Semantic roles & 50–950 ramp

primary
#EC8FB3
secondary
#D9F2E8
accent
#D38812
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #EC8FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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