#ED5178#ED5178

#ED5178 is a light, vivid red. Relative luminance 0.252; OKLCH L 65.7% C 0.192 H 9.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#ED5178
RGBrgb(237, 81, 120)
HSLhsl(345, 81%, 62%)
HSVhsv(345, 66%, 93%)
CMYKcmyk(0%, 65.8%, 49.4%, 7.1%)
CIE-LABlab(57.32, 62.56, 11.84)
CIE-LCHlch(57.32, 63.67, 10.72°)
OKLaboklab(65.67% 0.1901 0.0305)
OKLCHoklch(65.67% 0.192 9.1)
XYZxyz(41.2611, 25.2508, 20.4668)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED5178 #51EDC6
analogous
#ED51C6 #ED5178 #ED7851
triadic
#ED5178 #78ED51 #5178ED
tetradic
#ED5178 #C6ED51 #51EDC6 #7851ED
square
#ED5178 #C6ED51 #51EDC6 #7851ED
split-complementary
#ED5178 #51ED78 #51C6ED
monochromatic
#B1123A #E71A4D #ED5178 #F388A3 #F8C0CE

Accessibility & contrast

On white

3.47
#ED5178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#ED5178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED5178
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED5178#FFFFFF#000000##000000
##ED51781.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#757679
Deuteranopia (green-blind)
#9D9574
Tritanopia (blue-blind)
#FF3760
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ed5178;
/* rgb */ color: rgb(237, 81, 120);
/* oklch */ color: oklch(65.7% 0.192 9.1);
Tailwind
colors: {
  custom: {
    50: '#f98b9e',
    500: '#ed5178',
    950: '#000000',
  },
}
SCSS
$custom: #ed5178;
$custom-light: #f98b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ed5178",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 345,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65667,
    "c": 0.19248,
    "h": 9.1
  },
  "luminance": 0.25245
}

Semantic roles & 50–950 ramp

primary
#ED5178
secondary
#B0E9DB
accent
#DEA808
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180D0E
muted
#867D7E

Preview Lab

Preview with #ED5178

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

Preview Lab → · Contrast checker → · Palette generator →

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