#EC4871#EC4871

#EC4871 is a light, highly saturated red. Relative luminance 0.237; OKLCH L 64.4% C 0.201 H 10.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#EC4871
RGBrgb(236, 72, 113)
HSLhsl(345, 81%, 60%)
HSVhsv(345, 69%, 93%)
CMYKcmyk(0%, 69.5%, 52.1%, 7.5%)
CIE-LABlab(55.75, 65.09, 13.77)
CIE-LCHlch(55.75, 66.53, 11.94°)
OKLaboklab(64.42% 0.1975 0.0351)
OKLCHoklch(64.42% 0.201 10.1)
XYZxyz(39.8936, 23.6652, 18.0867)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4871 #48ECC3
analogous
#EC48C3 #EC4871 #EC7148
triadic
#EC4871 #71EC48 #4871EC
tetradic
#EC4871 #C3EC48 #48ECC3 #7148EC
square
#EC4871 #C3EC48 #48ECC3 #7148EC
split-complementary
#EC4871 #48EC71 #48C3EC
monochromatic
#A81137 #E01749 #EC4871 #F27F9C #F8B7C7

Accessibility & contrast

On white

3.66
#EC4871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#EC4871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4871
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4871#FFFFFF#000000##000000
##EC48711.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#707072
Deuteranopia (green-blind)
#9B926D
Tritanopia (blue-blind)
#FF2559
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ec4871;
/* rgb */ color: rgb(236, 72, 113);
/* oklch */ color: oklch(64.4% 0.201 10.1);
Tailwind
colors: {
  custom: {
    50: '#f98699',
    500: '#ec4871',
    950: '#000000',
  },
}
SCSS
$custom: #ec4871;
$custom-light: #f98699;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4871",
  "rgb": {
    "r": 236,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 345,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64418,
    "c": 0.20055,
    "h": 10.1
  },
  "luminance": 0.2366
}

Semantic roles & 50–950 ramp

primary
#EC4871
secondary
#A9E7D8
accent
#DEA808
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0D
muted
#877D7E

Preview Lab

Preview with #EC4871

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

Preview Lab → · Contrast checker → · Palette generator →

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