#EFA7DC#EFA7DC

#EFA7DC is a light, moderate pink. Relative luminance 0.512; OKLCH L 81.3% C 0.108 H 336.6°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#EFA7DC
RGBrgb(239, 167, 220)
HSLhsl(316, 69%, 80%)
HSVhsv(316, 30%, 94%)
CMYKcmyk(0%, 30.1%, 7.9%, 6.3%)
CIE-LABlab(76.77, 34.52, -16.11)
CIE-LCHlch(76.77, 38.09, 334.98°)
OKLaboklab(81.33% 0.0992 -0.043)
OKLCHoklch(81.33% 0.108 336.6)
XYZxyz(62.3331, 51.1581, 74.2874)
Luminance0.5115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFA7DC #A7EFBA
analogous
#DEA7EF #EFA7DC #EFA7B8
triadic
#EFA7DC #DCEFA7 #A7DCEF
tetradic
#EFA7DC #EFDEA7 #A7EFBA #A7B8EF
square
#EFA7DC #EFDEA7 #A7EFBA #A7B8EF
split-complementary
#EFA7DC #B8EFA7 #A7EFDE
monochromatic
#DC3FB3 #E673C7 #EFA7DC #F8DBF1 #FAE5F5

Accessibility & contrast

On white

1.87
#EFA7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#EFA7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFA7DC
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFA7DC#FFFFFF#000000##000000
##EFA7DC1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8B7DE
Deuteranopia (green-blind)
#B9C1DA
Tritanopia (blue-blind)
#F7A9BA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #efa7dc;
/* rgb */ color: rgb(239, 167, 220);
/* oklch */ color: oklch(81.3% 0.108 336.6);
Tailwind
colors: {
  custom: {
    50: '#f5c2e7',
    500: '#efa7dc',
    950: '#000000',
  },
}
SCSS
$custom: #efa7dc;
$custom-light: #f5c2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#efa7dc",
  "rgb": {
    "r": 239,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 315.833,
    "s": 69.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81332,
    "c": 0.10815,
    "h": 336.6
  },
  "luminance": 0.51155
}

Semantic roles & 50–950 ramp

primary
#EFA7DC
secondary
#6ECD87
accent
#D14614
background
#FFFDFE
surface
#FEF9FC
border
#D6D2D5
text
#171216
muted
#858284

Preview Lab

Preview with #EFA7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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