#EF7FD8#EF7FD8

#EF7FD8 is a light, vivid pink. Relative luminance 0.385; OKLCH L 75.0% C 0.173 H 335.4°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#EF7FD8
RGBrgb(239, 127, 216)
HSLhsl(312, 78%, 72%)
HSVhsv(312, 47%, 94%)
CMYKcmyk(0%, 46.9%, 9.6%, 6.3%)
CIE-LABlab(68.38, 54.41, -26.68)
CIE-LCHlch(68.38, 60.60, 333.88°)
OKLaboklab(74.95% 0.1574 -0.072)
OKLCHoklch(74.95% 0.173 335.4)
XYZxyz(55.5807, 38.4909, 69.4544)
Luminance0.3849 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7FD8 #7FEF96
analogous
#CE7FEF #EF7FD8 #EF7FA0
triadic
#EF7FD8 #D8EF7F #7FD8EF
tetradic
#EF7FD8 #EFCE7F #7FEF96 #7FA0EF
square
#EF7FD8 #EFCE7F #7FEF96 #7FA0EF
split-complementary
#EF7FD8 #A0EF7F #7FEFCE
monochromatic
#D91BB2 #E849C7 #EF7FD8 #F6B5E9 #FCE4F7

Accessibility & contrast

On white

2.41
#EF7FD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#EF7FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7FD8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7FD8#FFFFFF#000000##000000
##EF7FD81.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#809CDB
Deuteranopia (green-blind)
#9EADD5
Tritanopia (blue-blind)
#F984A2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ef7fd8;
/* rgb */ color: rgb(239, 127, 216);
/* oklch */ color: oklch(75.0% 0.173 335.4);
Tailwind
colors: {
  custom: {
    50: '#f6a7e4',
    500: '#ef7fd8',
    950: '#000000',
  },
}
SCSS
$custom: #ef7fd8;
$custom-light: #f6a7e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7fd8",
  "rgb": {
    "r": 239,
    "g": 127,
    "b": 216
  },
  "hsl": {
    "h": 312.321,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7495,
    "c": 0.17306,
    "h": 335.4
  },
  "luminance": 0.38487
}

Semantic roles & 50–950 ramp

primary
#EF7FD8
secondary
#D7F3DD
accent
#DA360B
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EF7FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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