#EF7EC2#EF7EC2

#EF7EC2 is a light, vivid pink. Relative luminance 0.372; OKLCH L 74.0% C 0.159 H 344.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#EF7EC2
RGBrgb(239, 126, 194)
HSLhsl(324, 78%, 72%)
HSVhsv(324, 47%, 94%)
CMYKcmyk(0%, 47.3%, 18.8%, 6.3%)
CIE-LABlab(67.41, 51.51, -15.89)
CIE-LCHlch(67.41, 53.90, 342.86°)
OKLaboklab(73.96% 0.1532 -0.042)
OKLCHoklch(73.96% 0.159 344.7)
XYZxyz(52.7961, 37.1714, 55.4226)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7EC2 #7EEFAB
analogous
#E47EEF #EF7EC2 #EF7E8A
triadic
#EF7EC2 #C2EF7E #7EC2EF
tetradic
#EF7EC2 #EFE47E #7EEFAB #7E8AEF
square
#EF7EC2 #EFE47E #7EEFAB #7E8AEF
split-complementary
#EF7EC2 #8AEF7E #7EEFE4
monochromatic
#D81B8D #E848A8 #EF7EC2 #F6B4DC #FCE4F2

Accessibility & contrast

On white

2.49
#EF7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#EF7EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7EC2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7EC2#FFFFFF#000000##000000
##EF7EC21.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8799C4
Deuteranopia (green-blind)
#A4ABBF
Tritanopia (blue-blind)
#FC7D98
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ef7ec2;
/* rgb */ color: rgb(239, 126, 194);
/* oklch */ color: oklch(74.0% 0.159 344.7);
Tailwind
colors: {
  custom: {
    50: '#f6a6d4',
    500: '#ef7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ef7ec2;
$custom-light: #f6a6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7ec2",
  "rgb": {
    "r": 239,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 323.894,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73962,
    "c": 0.15889,
    "h": 344.7
  },
  "luminance": 0.37167
}

Semantic roles & 50–950 ramp

primary
#EF7EC2
secondary
#D6F3E1
accent
#DA5E0B
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EF7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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