#EB787F#EB787F

#EB787F is a light, vivid red. Relative luminance 0.326; OKLCH L 70.6% C 0.142 H 17.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#EB787F
RGBrgb(235, 120, 127)
HSLhsl(356, 74%, 70%)
HSVhsv(356, 49%, 92%)
CMYKcmyk(0%, 48.9%, 46%, 7.8%)
CIE-LABlab(63.86, 44.92, 16.86)
CIE-LCHlch(63.86, 47.98, 20.57°)
OKLaboklab(70.58% 0.1353 0.0429)
OKLCHoklch(70.58% 0.142 17.6)
XYZxyz(44.8111, 32.6320, 24.0133)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB787F #78EBE4
analogous
#EB78B9 #EB787F #EBAB78
triadic
#EB787F #7FEB78 #787FEB
tetradic
#EB787F #B9EB78 #78EBE4 #AB78EB
square
#EB787F #B9EB78 #78EBE4 #AB78EB
split-complementary
#EB787F #78EBAB #78B9EB
monochromatic
#CB1E29 #E3434C #EB787F #F3ADB2 #FBE3E4

Accessibility & contrast

On white

2.79
#EB787F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#EB787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB787F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB787F#FFFFFF#000000##000000
##EB787F1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908C7F
Deuteranopia (green-blind)
#ADA47D
Tritanopia (blue-blind)
#FE697B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #eb787f;
/* rgb */ color: rgb(235, 120, 127);
/* oklch */ color: oklch(70.6% 0.142 17.6);
Tailwind
colors: {
  custom: {
    50: '#f5a1a4',
    500: '#eb787f',
    950: '#000000',
  },
}
SCSS
$custom: #eb787f;
$custom-light: #f5a1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb787f",
  "rgb": {
    "r": 235,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 356.348,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70575,
    "c": 0.14196,
    "h": 17.6
  },
  "luminance": 0.32627
}

Semantic roles & 50–950 ramp

primary
#EB787F
secondary
#CFF0EE
accent
#D6CA0F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #EB787F

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

Preview Lab → · Contrast checker → · Palette generator →

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