#EB7CD4#EB7CD4

#EB7CD4 is a light, vivid pink. Relative luminance 0.368; OKLCH L 73.9% C 0.172 H 335.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#EB7CD4
RGBrgb(235, 124, 212)
HSLhsl(312, 74%, 70%)
HSVhsv(312, 47%, 92%)
CMYKcmyk(0%, 47.2%, 9.8%, 7.8%)
CIE-LABlab(67.15, 54.04, -26.38)
CIE-LCHlch(67.15, 60.13, 333.98°)
OKLaboklab(73.88% 0.1564 -0.0712)
OKLCHoklch(73.88% 0.172 335.5)
XYZxyz(53.3524, 36.8344, 66.5742)
Luminance0.3683 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7CD4 #7CEB93
analogous
#CA7CEB #EB7CD4 #EB7C9D
triadic
#EB7CD4 #D4EB7C #7CD4EB
tetradic
#EB7CD4 #EBCA7C #7CEB93 #7C9DEB
square
#EB7CD4 #EBCA7C #7CEB93 #7C9DEB
split-complementary
#EB7CD4 #9DEB7C #7CEBCA
monochromatic
#CD1FA9 #E347C3 #EB7CD4 #F3B1E5 #FBE4F6

Accessibility & contrast

On white

2.51
#EB7CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#EB7CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7CD4
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7CD4#FFFFFF#000000##000000
##EB7CD41.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D99D7
Deuteranopia (green-blind)
#9BAAD1
Tritanopia (blue-blind)
#F5819E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #eb7cd4;
/* rgb */ color: rgb(235, 124, 212);
/* oklch */ color: oklch(73.9% 0.172 335.5);
Tailwind
colors: {
  custom: {
    50: '#f3a5e1',
    500: '#eb7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #eb7cd4;
$custom-light: #f3a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7cd4",
  "rgb": {
    "r": 235,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 312.432,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73877,
    "c": 0.17183,
    "h": 335.5
  },
  "luminance": 0.36831
}

Semantic roles & 50–950 ramp

primary
#EB7CD4
secondary
#D2F1D8
accent
#D63910
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EB7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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