#ED787F#ED787F

#ED787F is a light, vivid red. Relative luminance 0.330; OKLCH L 70.8% C 0.144 H 17.7°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#ED787F
RGBrgb(237, 120, 127)
HSLhsl(356, 76%, 70%)
HSVhsv(356, 49%, 93%)
CMYKcmyk(0%, 49.4%, 46.4%, 7.1%)
CIE-LABlab(64.14, 45.63, 17.29)
CIE-LCHlch(64.14, 48.80, 20.75°)
OKLaboklab(70.84% 0.1374 0.0439)
OKLCHoklch(70.84% 0.144 17.7)
XYZxyz(45.4753, 32.9745, 24.0444)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED787F #78EDE6
analogous
#ED78BA #ED787F #EDAB78
triadic
#ED787F #7FED78 #787FED
tetradic
#ED787F #BAED78 #78EDE6 #AB78ED
square
#ED787F #BAED78 #78EDE6 #AB78ED
split-complementary
#ED787F #78EDAB #78BAED
monochromatic
#CF1C26 #E6424C #ED787F #F4AEB2 #FBE4E5

Accessibility & contrast

On white

2.77
#ED787F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#ED787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED787F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED787F#FFFFFF#000000##000000
##ED787F1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918D7F
Deuteranopia (green-blind)
#AEA47D
Tritanopia (blue-blind)
#FF687B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ed787f;
/* rgb */ color: rgb(237, 120, 127);
/* oklch */ color: oklch(70.8% 0.144 17.7);
Tailwind
colors: {
  custom: {
    50: '#f7a2a4',
    500: '#ed787f',
    950: '#000000',
  },
}
SCSS
$custom: #ed787f;
$custom-light: #f7a2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ed787f",
  "rgb": {
    "r": 237,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 356.41,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.70842,
    "c": 0.14427,
    "h": 17.7
  },
  "luminance": 0.3297
}

Semantic roles & 50–950 ramp

primary
#ED787F
secondary
#D0F1EF
accent
#D9CC0D
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #ED787F

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

Preview Lab → · Contrast checker → · Palette generator →

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