#EF7871#EF7871

#EF7871 is a light, vivid red. Relative luminance 0.330; OKLCH L 70.8% C 0.148 H 25.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#EF7871
RGBrgb(239, 120, 113)
HSLhsl(3, 80%, 69%)
HSVhsv(3, 53%, 94%)
CMYKcmyk(0%, 49.8%, 52.7%, 6.3%)
CIE-LABlab(64.15, 45.10, 25.26)
CIE-LCHlch(64.15, 51.69, 29.25°)
OKLaboklab(70.81% 0.1341 0.0624)
OKLCHoklch(70.81% 0.148 25)
XYZxyz(45.2971, 32.9809, 19.6001)
Luminance0.3298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7871 #71E8EF
analogous
#EF71A9 #EF7871 #EFB771
triadic
#EF7871 #71EF78 #7871EF
tetradic
#EF7871 #A9EF71 #71E8EF #B771EF
square
#EF7871 #A9EF71 #71E8EF #B771EF
split-complementary
#EF7871 #71EFB7 #71A9EF
monochromatic
#CE2117 #E9443A #EF7871 #F5ACA8 #FBE1DF

Accessibility & contrast

On white

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

On black

7.60
#EF7871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7871
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7871#FFFFFF#000000##000000
##EF78711.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948C70
Deuteranopia (green-blind)
#B1A56F
Tritanopia (blue-blind)
#FF6677
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ef7871;
/* rgb */ color: rgb(239, 120, 113);
/* oklch */ color: oklch(70.8% 0.148 25.0);
Tailwind
colors: {
  custom: {
    50: '#f9a199',
    500: '#ef7871',
    950: '#000000',
  },
}
SCSS
$custom: #ef7871;
$custom-light: #f9a199;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7871",
  "rgb": {
    "r": 239,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 3.333,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70813,
    "c": 0.14792,
    "h": 25
  },
  "luminance": 0.32976
}

Semantic roles & 50–950 ramp

primary
#EF7871
secondary
#CBEEF0
accent
#D0DC09
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E

Preview Lab

Preview with #EF7871

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

Preview Lab → · Contrast checker → · Palette generator →

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