#EF787F#EF787F

#EF787F is a light, vivid red. Relative luminance 0.333; OKLCH L 71.1% C 0.147 H 17.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#EF787F
RGBrgb(239, 120, 127)
HSLhsl(356, 79%, 70%)
HSVhsv(356, 50%, 94%)
CMYKcmyk(0%, 49.8%, 46.9%, 6.3%)
CIE-LABlab(64.42, 46.34, 17.71)
CIE-LCHlch(64.42, 49.61, 20.92°)
OKLaboklab(71.11% 0.1395 0.045)
OKLCHoklch(71.11% 0.147 17.9)
XYZxyz(46.1469, 33.3208, 24.0759)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF787F #78EFE8
analogous
#EF78BA #EF787F #EFAD78
triadic
#EF787F #7FEF78 #787FEF
tetradic
#EF787F #BAEF78 #78EFE8 #AD78EF
square
#EF787F #BAEF78 #78EFE8 #AD78EF
split-complementary
#EF787F #78EFAD #78BAEF
monochromatic
#D41924 #E9414B #EF787F #F5AFB3 #FCE4E5

Accessibility & contrast

On white

2.74
#EF787F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#EF787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF787F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF787F#FFFFFF#000000##000000
##EF787F1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928D7F
Deuteranopia (green-blind)
#AFA57D
Tritanopia (blue-blind)
#FF687B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ef787f;
/* rgb */ color: rgb(239, 120, 127);
/* oklch */ color: oklch(71.1% 0.147 17.9);
Tailwind
colors: {
  custom: {
    50: '#f8a2a4',
    500: '#ef787f',
    950: '#000000',
  },
}
SCSS
$custom: #ef787f;
$custom-light: #f8a2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef787f",
  "rgb": {
    "r": 239,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 356.471,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71111,
    "c": 0.14657,
    "h": 17.9
  },
  "luminance": 0.33316
}

Semantic roles & 50–950 ramp

primary
#EF787F
secondary
#D1F2F0
accent
#DBCF0A
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #EF787F

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

Preview Lab → · Contrast checker → · Palette generator →

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