#ED7FAC#ED7FAC

#ED7FAC is a light, vivid pink. Relative luminance 0.362; OKLCH L 73.1% C 0.143 H 355.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#ED7FAC
RGBrgb(237, 127, 172)
HSLhsl(335, 75%, 71%)
HSVhsv(335, 46%, 93%)
CMYKcmyk(0%, 46.4%, 27.4%, 7.1%)
CIE-LABlab(66.65, 47.29, -4.66)
CIE-LCHlch(66.65, 47.52, 354.37°)
OKLaboklab(73.11% 0.1429 -0.0117)
OKLCHoklch(73.11% 0.143 355.3)
XYZxyz(49.9625, 36.1660, 43.3711)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7FAC #7FEDC0
analogous
#ED7FE3 #ED7FAC #ED897F
triadic
#ED7FAC #ACED7F #7FACED
tetradic
#ED7FAC #E3ED7F #7FEDC0 #897FED
square
#ED7FAC #E3ED7F #7FEDC0 #897FED
split-complementary
#ED7FAC #7FED89 #7FE3ED
monochromatic
#D41E68 #E54989 #ED7FAC #F5B5CF #FBE4EE

Accessibility & contrast

On white

2.55
#ED7FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#ED7FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7FAC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7FAC#FFFFFF#000000##000000
##ED7FAC1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D96AD
Deuteranopia (green-blind)
#AAAAA9
Tritanopia (blue-blind)
#FC798F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ed7fac;
/* rgb */ color: rgb(237, 127, 172);
/* oklch */ color: oklch(73.1% 0.143 355.3);
Tailwind
colors: {
  custom: {
    50: '#f5a7c4',
    500: '#ed7fac',
    950: '#000000',
  },
}
SCSS
$custom: #ed7fac;
$custom-light: #f5a7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7fac",
  "rgb": {
    "r": 237,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 335.455,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7311,
    "c": 0.1434,
    "h": 355.3
  },
  "luminance": 0.36162
}

Semantic roles & 50–950 ramp

primary
#ED7FAC
secondary
#D6F2E6
accent
#D8850E
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #ED7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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