#EF7AB1#EF7AB1

#EF7AB1 is a light, vivid pink. Relative luminance 0.354; OKLCH L 72.8% C 0.156 H 352.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#EF7AB1
RGBrgb(239, 122, 177)
HSLhsl(332, 79%, 71%)
HSVhsv(332, 49%, 94%)
CMYKcmyk(0%, 49%, 25.9%, 6.3%)
CIE-LABlab(66.10, 51.09, -8.27)
CIE-LCHlch(66.10, 51.75, 350.80°)
OKLaboklab(72.8% 0.1541 -0.0213)
OKLCHoklch(72.8% 0.156 352.1)
XYZxyz(50.4936, 35.4484, 45.7693)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7AB1 #7AEFB8
analogous
#EF7AEB #EF7AB1 #EF7D7A
triadic
#EF7AB1 #B1EF7A #7AB1EF
tetradic
#EF7AB1 #EBEF7A #7AEFB8 #7D7AEF
square
#EF7AB1 #EBEF7A #7AEFB8 #7D7AEF
split-complementary
#EF7AB1 #7AEF7D #7AEBEF
monochromatic
#D51A72 #E84391 #EF7AB1 #F6B1D1 #FCE4EF

Accessibility & contrast

On white

2.60
#EF7AB1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#EF7AB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7AB1
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7AB1#FFFFFF#000000##000000
##EF7AB11.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8894B3
Deuteranopia (green-blind)
#A7A8AE
Tritanopia (blue-blind)
#FE758E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ef7ab1;
/* rgb */ color: rgb(239, 122, 177);
/* oklch */ color: oklch(72.8% 0.156 352.1);
Tailwind
colors: {
  custom: {
    50: '#f7a4c8',
    500: '#ef7ab1',
    950: '#000000',
  },
}
SCSS
$custom: #ef7ab1;
$custom-light: #f7a4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7ab1",
  "rgb": {
    "r": 239,
    "g": 122,
    "b": 177
  },
  "hsl": {
    "h": 331.795,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.728,
    "c": 0.1556,
    "h": 352.1
  },
  "luminance": 0.35444
}

Semantic roles & 50–950 ramp

primary
#EF7AB1
secondary
#D3F2E3
accent
#DB790B
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #EF7AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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