#EF7FA7#EF7FA7

#EF7FA7 is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.2% C 0.143 H 358.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#EF7FA7
RGBrgb(239, 127, 167)
HSLhsl(339, 78%, 72%)
HSVhsv(339, 47%, 94%)
CMYKcmyk(0%, 46.9%, 30.1%, 6.3%)
CIE-LABlab(66.77, 47.31, -1.63)
CIE-LCHlch(66.77, 47.34, 358.03°)
OKLaboklab(73.21% 0.1434 -0.0036)
OKLCHoklch(73.21% 0.143 358.5)
XYZxyz(50.1630, 36.3238, 40.9210)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7FA7 #7FEFC7
analogous
#EF7FDF #EF7FA7 #EF8F7F
triadic
#EF7FA7 #A7EF7F #7FA7EF
tetradic
#EF7FA7 #DFEF7F #7FEFC7 #8F7FEF
square
#EF7FA7 #DFEF7F #7FEFC7 #8F7FEF
split-complementary
#EF7FA7 #7FEF8F #7FDFEF
monochromatic
#D91B5F #E84982 #EF7FA7 #F6B5CC #FCE4EC

Accessibility & contrast

On white

2.54
#EF7FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#EF7FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7FA7
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7FA7#FFFFFF#000000##000000
##EF7FA71.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F96A8
Deuteranopia (green-blind)
#ACAAA4
Tritanopia (blue-blind)
#FF788D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ef7fa7;
/* rgb */ color: rgb(239, 127, 167);
/* oklch */ color: oklch(73.2% 0.143 358.5);
Tailwind
colors: {
  custom: {
    50: '#f7a7c1',
    500: '#ef7fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ef7fa7;
$custom-light: #f7a7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7fa7",
  "rgb": {
    "r": 239,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 338.571,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73208,
    "c": 0.14343,
    "h": 358.5
  },
  "luminance": 0.36319
}

Semantic roles & 50–950 ramp

primary
#EF7FA7
secondary
#D7F3E9
accent
#DA900B
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #EF7FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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