#ED5798#ED5798

#ED5798 is a light, vivid pink. Relative luminance 0.271; OKLCH L 67.2% C 0.194 H 356.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#ED5798
RGBrgb(237, 87, 152)
HSLhsl(334, 81%, 64%)
HSVhsv(334, 63%, 93%)
CMYKcmyk(0%, 63.3%, 35.9%, 7.1%)
CIE-LABlab(59.06, 63.26, -4.40)
CIE-LCHlch(59.06, 63.42, 356.02°)
OKLaboklab(67.24% 0.1934 -0.0108)
OKLCHoklch(67.24% 0.194 356.8)
XYZxyz(44.0033, 27.0928, 32.6118)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED5798 #57EDAC
analogous
#ED57E3 #ED5798 #ED6157
triadic
#ED5798 #98ED57 #5798ED
tetradic
#ED5798 #E3ED57 #57EDAC #6157ED
square
#ED5798 #E3ED57 #57EDAC #6157ED
split-complementary
#ED5798 #57ED61 #57E3ED
monochromatic
#B6145A #E72076 #ED5798 #F38EBA #F9C6DC

Accessibility & contrast

On white

3.27
#ED5798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#ED5798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED5798
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED5798#FFFFFF#000000##000000
##ED57981.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#717C9A
Deuteranopia (green-blind)
#9A9894
Tritanopia (blue-blind)
#FF4A71
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ed5798;
/* rgb */ color: rgb(237, 87, 152);
/* oklch */ color: oklch(67.2% 0.194 356.8);
Tailwind
colors: {
  custom: {
    50: '#f78eb6',
    500: '#ed5798',
    950: '#000000',
  },
}
SCSS
$custom: #ed5798;
$custom-light: #f78eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed5798",
  "rgb": {
    "r": 237,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 334,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67242,
    "c": 0.19365,
    "h": 356.8
  },
  "luminance": 0.27088
}

Semantic roles & 50–950 ramp

primary
#ED5798
secondary
#B5EAD3
accent
#DD8109
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #ED5798

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

Preview Lab → · Contrast checker → · Palette generator →

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