#EF7ACC#EF7ACC

#EF7ACC is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.8% C 0.172 H 339.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#EF7ACC
RGBrgb(239, 122, 204)
HSLhsl(318, 79%, 71%)
HSVhsv(318, 49%, 94%)
CMYKcmyk(0%, 49%, 14.6%, 6.3%)
CIE-LABlab(67.00, 54.96, -22.10)
CIE-LCHlch(67.00, 59.23, 338.09°)
OKLaboklab(73.78% 0.1616 -0.0592)
OKLCHoklch(73.78% 0.172 339.9)
XYZxyz(53.4558, 36.6333, 61.3705)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7ACC #7AEF9D
analogous
#D77AEF #EF7ACC #EF7A91
triadic
#EF7ACC #CCEF7A #7ACCEF
tetradic
#EF7ACC #EFD77A #7AEF9D #7A91EF
square
#EF7ACC #EFD77A #7AEF9D #7A91EF
split-complementary
#EF7ACC #91EF7A #7AEFD7
monochromatic
#D51A9D #E843B7 #EF7ACC #F6B1E1 #FCE4F5

Accessibility & contrast

On white

2.52
#EF7ACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#EF7ACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7ACC
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7ACC#FFFFFF#000000##000000
##EF7ACC1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F98CF
Deuteranopia (green-blind)
#9FAAC9
Tritanopia (blue-blind)
#FB7C9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ef7acc;
/* rgb */ color: rgb(239, 122, 204);
/* oklch */ color: oklch(73.8% 0.172 339.9);
Tailwind
colors: {
  custom: {
    50: '#f7a4db',
    500: '#ef7acc',
    950: '#000000',
  },
}
SCSS
$custom: #ef7acc;
$custom-light: #f7a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7acc",
  "rgb": {
    "r": 239,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 317.949,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73775,
    "c": 0.17214,
    "h": 339.9
  },
  "luminance": 0.36629
}

Semantic roles & 50–950 ramp

primary
#EF7ACC
secondary
#D3F2DC
accent
#DB490B
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EF7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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