#EF877F#EF877F

#EF877F is a light, vivid red. Relative luminance 0.372; OKLCH L 73.4% C 0.128 H 25.3°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#EF877F
RGBrgb(239, 135, 127)
HSLhsl(4, 78%, 72%)
HSVhsv(4, 47%, 94%)
CMYKcmyk(0%, 43.5%, 46.9%, 6.3%)
CIE-LABlab(67.44, 38.78, 21.84)
CIE-LCHlch(67.44, 44.51, 29.39°)
OKLaboklab(73.41% 0.1161 0.0549)
OKLCHoklch(73.41% 0.128 25.3)
XYZxyz(48.0943, 37.2156, 24.7250)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF877F #7FE7EF
analogous
#EF7FAF #EF877F #EFBF7F
triadic
#EF877F #7FEF87 #877FEF
tetradic
#EF877F #AFEF7F #7FE7EF #BF7FEF
square
#EF877F #AFEF7F #7FE7EF #BF7FEF
split-complementary
#EF877F #7FEFBF #7FAFEF
monochromatic
#D9291B #E85449 #EF877F #F6BAB5 #FCE6E4

Accessibility & contrast

On white

2.49
#EF877F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#EF877F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF877F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF877F#FFFFFF#000000##000000
##EF877F1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E977E
Deuteranopia (green-blind)
#B8AC7D
Tritanopia (blue-blind)
#FF7885
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ef877f;
/* rgb */ color: rgb(239, 135, 127);
/* oklch */ color: oklch(73.4% 0.128 25.3);
Tailwind
colors: {
  custom: {
    50: '#f8aba4',
    500: '#ef877f',
    950: '#000000',
  },
}
SCSS
$custom: #ef877f;
$custom-light: #f8aba4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef877f",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 4.286,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73407,
    "c": 0.12844,
    "h": 25.3
  },
  "luminance": 0.37211
}

Semantic roles & 50–950 ramp

primary
#EF877F
secondary
#D7F1F3
accent
#CBDA0B
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#18100F
muted
#867F7F

Preview Lab

Preview with #EF877F

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

Preview Lab → · Contrast checker → · Palette generator →

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