#EB7987#EB7987

#EB7987 is a light, vivid red. Relative luminance 0.331; OKLCH L 70.9% C 0.141 H 13.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#EB7987
RGBrgb(235, 121, 135)
HSLhsl(353, 74%, 70%)
HSVhsv(353, 49%, 92%)
CMYKcmyk(0%, 48.5%, 42.6%, 7.8%)
CIE-LABlab(64.23, 45.22, 12.83)
CIE-LCHlch(64.23, 47.01, 15.83°)
OKLaboklab(70.91% 0.1368 0.0331)
OKLCHoklch(70.91% 0.141 13.6)
XYZxyz(45.4742, 33.0907, 26.9092)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7987 #79EBDD
analogous
#EB79C0 #EB7987 #EBA479
triadic
#EB7987 #87EB79 #7987EB
tetradic
#EB7987 #C0EB79 #79EBDD #A479EB
square
#EB7987 #C0EB79 #79EBDD #A479EB
split-complementary
#EB7987 #79EBA4 #79C0EB
monochromatic
#CB1E34 #E34457 #EB7987 #F3AEB7 #FBE4E6

Accessibility & contrast

On white

2.76
#EB7987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#EB7987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7987
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7987#FFFFFF#000000##000000
##EB79871.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E87
Deuteranopia (green-blind)
#ACA485
Tritanopia (blue-blind)
#FD6C7E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #eb7987;
/* rgb */ color: rgb(235, 121, 135);
/* oklch */ color: oklch(70.9% 0.141 13.6);
Tailwind
colors: {
  custom: {
    50: '#f5a2a9',
    500: '#eb7987',
    950: '#000000',
  },
}
SCSS
$custom: #eb7987;
$custom-light: #f5a2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7987",
  "rgb": {
    "r": 235,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 352.632,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70914,
    "c": 0.14079,
    "h": 13.6
  },
  "luminance": 0.33086
}

Semantic roles & 50–950 ramp

primary
#EB7987
secondary
#D0F0EC
accent
#D6BE0F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EB7987

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

Preview Lab → · Contrast checker → · Palette generator →

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