#EF8BAC#EF8BAC

#EF8BAC is a light, vivid pink. Relative luminance 0.398; OKLCH L 75.2% C 0.127 H 359.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#EF8BAC
RGBrgb(239, 139, 172)
HSLhsl(340, 76%, 74%)
HSVhsv(340, 42%, 94%)
CMYKcmyk(0%, 41.8%, 28%, 6.3%)
CIE-LABlab(69.33, 41.88, -0.69)
CIE-LCHlch(69.33, 41.89, 359.05°)
OKLaboklab(75.19% 0.1266 -0.0013)
OKLCHoklch(75.19% 0.127 359.4)
XYZxyz(52.2773, 39.7985, 43.9502)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8BAC #8BEFCE
analogous
#EF8BDE #EF8BAC #EF9C8B
triadic
#EF8BAC #ACEF8B #8BACEF
tetradic
#EF8BAC #DEEF8B #8BEFCE #9C8BEF
square
#EF8BAC #DEEF8B #8BEFCE #9C8BEF
split-complementary
#EF8BAC #8BEF9C #8BDEEF
monochromatic
#E01F5F #E85586 #EF8BAC #F6C1D2 #FBE4EC

Accessibility & contrast

On white

2.34
#EF8BAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#EF8BAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8BAC
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8BAC#FFFFFF#000000##000000
##EF8BAC1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#999EAD
Deuteranopia (green-blind)
#B2B0AA
Tritanopia (blue-blind)
#FE8597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ef8bac;
/* rgb */ color: rgb(239, 139, 172);
/* oklch */ color: oklch(75.2% 0.127 359.4);
Tailwind
colors: {
  custom: {
    50: '#f6aec4',
    500: '#ef8bac',
    950: '#000000',
  },
}
SCSS
$custom: #ef8bac;
$custom-light: #f6aec4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8bac",
  "rgb": {
    "r": 239,
    "g": 139,
    "b": 172
  },
  "hsl": {
    "h": 340.2,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7519,
    "c": 0.12664,
    "h": 359.4
  },
  "luminance": 0.39795
}

Semantic roles & 50–950 ramp

primary
#EF8BAC
secondary
#D8F3EA
accent
#D8950E
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171012
muted
#857F81

Preview Lab

Preview with #EF8BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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