#EB7CD5#EB7CD5

#EB7CD5 is a light, vivid pink. Relative luminance 0.369; OKLCH L 73.9% C 0.173 H 335.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#EB7CD5
RGBrgb(235, 124, 213)
HSLhsl(312, 74%, 70%)
HSVhsv(312, 47%, 92%)
CMYKcmyk(0%, 47.2%, 9.4%, 7.8%)
CIE-LABlab(67.19, 54.20, -26.88)
CIE-LCHlch(67.19, 60.50, 333.62°)
OKLaboklab(73.92% 0.1566 -0.0726)
OKLCHoklch(73.92% 0.173 335.1)
XYZxyz(53.4789, 36.8850, 67.2406)
Luminance0.3688 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7CD5 #7CEB92
analogous
#C97CEB #EB7CD5 #EB7C9D
triadic
#EB7CD5 #D5EB7C #7CD5EB
tetradic
#EB7CD5 #EBC97C #7CEB92 #7C9DEB
square
#EB7CD5 #EBC97C #7CEB92 #7C9DEB
split-complementary
#EB7CD5 #9DEB7C #7CEBC9
monochromatic
#CD1FAB #E347C4 #EB7CD5 #F3B1E6 #FBE4F6

Accessibility & contrast

On white

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

On black

8.38
#EB7CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7CD5
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7CD5#FFFFFF#000000##000000
##EB7CD51.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C99D8
Deuteranopia (green-blind)
#9BAAD2
Tritanopia (blue-blind)
#F4819F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #eb7cd5;
/* rgb */ color: rgb(235, 124, 213);
/* oklch */ color: oklch(73.9% 0.173 335.1);
Tailwind
colors: {
  custom: {
    50: '#f3a5e2',
    500: '#eb7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #eb7cd5;
$custom-light: #f3a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7cd5",
  "rgb": {
    "r": 235,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 311.892,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73918,
    "c": 0.17262,
    "h": 335.1
  },
  "luminance": 0.36882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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