#EF8EC2#EF8EC2

#EF8EC2 is a light, vivid pink. Relative luminance 0.416; OKLCH L 76.4% C 0.132 H 347.3°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#EF8EC2
RGBrgb(239, 142, 194)
HSLhsl(328, 75%, 75%)
HSVhsv(328, 41%, 94%)
CMYKcmyk(0%, 40.6%, 18.8%, 6.3%)
CIE-LABlab(70.59, 43.44, -11.10)
CIE-LCHlch(70.59, 44.83, 345.67°)
OKLaboklab(76.36% 0.1293 -0.0291)
OKLCHoklch(76.36% 0.132 347.3)
XYZxyz(55.0081, 41.5954, 56.1599)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8EC2 #8EEFBB
analogous
#EC8EEF #EF8EC2 #EF8E92
triadic
#EF8EC2 #C2EF8E #8EC2EF
tetradic
#EF8EC2 #EFEC8E #8EEFBB #8E92EF
square
#EF8EC2 #EFEC8E #8EEFBB #8E92EF
split-complementary
#EF8EC2 #92EF8E #8EEFEC
monochromatic
#E02388 #E758A5 #EF8EC2 #F7C4DF #FBE4F1

Accessibility & contrast

On white

2.25
#EF8EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#EF8EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8EC2
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8EC2#FFFFFF#000000##000000
##EF8EC21.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A3C4
Deuteranopia (green-blind)
#AFB3C0
Tritanopia (blue-blind)
#FB8CA1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ef8ec2;
/* rgb */ color: rgb(239, 142, 194);
/* oklch */ color: oklch(76.4% 0.132 347.3);
Tailwind
colors: {
  custom: {
    50: '#f6b1d4',
    500: '#ef8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ec2;
$custom-light: #f6b1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ec2",
  "rgb": {
    "r": 239,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 327.835,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76362,
    "c": 0.13249,
    "h": 347.3
  },
  "luminance": 0.41592
}

Semantic roles & 50–950 ramp

primary
#EF8EC2
secondary
#D8F3E5
accent
#D76B0E
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EF8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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