#EC5F82#EC5F82

#EC5F82 is a light, vivid red. Relative luminance 0.276; OKLCH L 67.4% C 0.176 H 7.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#EC5F82
RGBrgb(236, 95, 130)
HSLhsl(345, 79%, 65%)
HSVhsv(345, 60%, 93%)
CMYKcmyk(0%, 59.7%, 44.9%, 7.5%)
CIE-LABlab(59.56, 57.32, 9.12)
CIE-LCHlch(59.56, 58.04, 9.04°)
OKLaboklab(67.38% 0.1743 0.0239)
OKLCHoklch(67.38% 0.176 7.8)
XYZxyz(42.7166, 27.6340, 24.1991)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F82 #5FECC9
analogous
#EC5FC9 #EC5F82 #EC825F
triadic
#EC5F82 #82EC5F #5F82EC
tetradic
#EC5F82 #C9EC5F #5FECC9 #825FEC
square
#EC5F82 #C9EC5F #5FECC9 #825FEC
split-complementary
#EC5F82 #5FEC82 #5FC9EC
monochromatic
#BA163F #E62857 #EC5F82 #F296AD #F9CCD7

Accessibility & contrast

On white

3.22
#EC5F82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#EC5F82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F82
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F82#FFFFFF#000000##000000
##EC5F821.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7E83
Deuteranopia (green-blind)
#A19A7F
Tritanopia (blue-blind)
#FF4D6C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5f82;
/* rgb */ color: rgb(236, 95, 130);
/* oklch */ color: oklch(67.4% 0.176 7.8);
Tailwind
colors: {
  custom: {
    50: '#f792a6',
    500: '#ec5f82',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f82;
$custom-light: #f792a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f82",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 130
  },
  "hsl": {
    "h": 345.106,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67384,
    "c": 0.17592,
    "h": 7.8
  },
  "luminance": 0.27629
}

Semantic roles & 50–950 ramp

primary
#EC5F82
secondary
#BBEBE0
accent
#DBA70A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5F82

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

Preview Lab → · Contrast checker → · Palette generator →

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