#EF8797#EF8797

#EF8797 is a light, vivid red. Relative luminance 0.379; OKLCH L 74.0% C 0.128 H 10.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#EF8797
RGBrgb(239, 135, 151)
HSLhsl(351, 76%, 73%)
HSVhsv(351, 44%, 94%)
CMYKcmyk(0%, 43.5%, 36.8%, 6.3%)
CIE-LABlab(67.96, 41.32, 9.12)
CIE-LCHlch(67.96, 42.32, 12.44°)
OKLaboklab(73.98% 0.1253 0.024)
OKLCHoklch(73.98% 0.128 10.8)
XYZxyz(49.8488, 37.9174, 33.9656)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8797 #87EFDF
analogous
#EF87CB #EF8797 #EFAB87
triadic
#EF8797 #97EF87 #8797EF
tetradic
#EF8797 #CBEF87 #87EFDF #AB87EF
square
#EF8797 #CBEF87 #87EFDF #AB87EF
split-complementary
#EF8797 #87EFAB #87CBEF
monochromatic
#DE1E3B #E85168 #EF8797 #F6BDC6 #FBE4E8

Accessibility & contrast

On white

2.45
#EF8797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#EF8797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8797
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8797#FFFFFF#000000##000000
##EF87971.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A9997
Deuteranopia (green-blind)
#B4AD95
Tritanopia (blue-blind)
#FF7D8D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ef8797;
/* rgb */ color: rgb(239, 135, 151);
/* oklch */ color: oklch(74.0% 0.128 10.8);
Tailwind
colors: {
  custom: {
    50: '#f7acb5',
    500: '#ef8797',
    950: '#000000',
  },
}
SCSS
$custom: #ef8797;
$custom-light: #f7acb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8797",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 151
  },
  "hsl": {
    "h": 350.769,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73975,
    "c": 0.12757,
    "h": 10.8
  },
  "luminance": 0.37913
}

Semantic roles & 50–950 ramp

primary
#EF8797
secondary
#D8F3EF
accent
#D9B90D
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181011
muted
#867F80

Preview Lab

Preview with #EF8797

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

Preview Lab → · Contrast checker → · Palette generator →

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