#EF5871#EF5871

#EF5871 is a light, vivid red. Relative luminance 0.265; OKLCH L 66.6% C 0.186 H 13.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#EF5871
RGBrgb(239, 88, 113)
HSLhsl(350, 83%, 64%)
HSVhsv(350, 63%, 94%)
CMYKcmyk(0%, 63.2%, 52.7%, 6.3%)
CIE-LABlab(58.53, 59.78, 17.69)
CIE-LCHlch(58.53, 62.34, 16.48°)
OKLaboklab(66.59% 0.1802 0.0445)
OKLCHoklch(66.59% 0.186 13.9)
XYZxyz(42.0706, 26.5278, 18.5246)
Luminance0.2652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5871 #58EFD6
analogous
#EF58BD #EF5871 #EF8B58
triadic
#EF5871 #71EF58 #5871EF
tetradic
#EF5871 #BDEF58 #58EFD6 #8B58EF
square
#EF5871 #BDEF58 #58EFD6 #8B58EF
split-complementary
#EF5871 #58EF8B #58BDEF
monochromatic
#BB122E #EA2042 #EF5871 #F490A0 #FAC8D0

Accessibility & contrast

On white

3.33
#EF5871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#EF5871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5871
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5871#FFFFFF#000000##000000
##EF58711.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7971
Deuteranopia (green-blind)
#A2986D
Tritanopia (blue-blind)
#FF3E62
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ef5871;
/* rgb */ color: rgb(239, 88, 113);
/* oklch */ color: oklch(66.6% 0.186 13.9);
Tailwind
colors: {
  custom: {
    50: '#fa8e99',
    500: '#ef5871',
    950: '#000000',
  },
}
SCSS
$custom: #ef5871;
$custom-light: #fa8e99;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5871",
  "rgb": {
    "r": 239,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 350.066,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66585,
    "c": 0.18565,
    "h": 13.9
  },
  "luminance": 0.26522
}

Semantic roles & 50–950 ramp

primary
#EF5871
secondary
#B7ECE3
accent
#DFBB07
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#190D0D
muted
#877E7E

Preview Lab

Preview with #EF5871

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

Preview Lab → · Contrast checker → · Palette generator →

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