#EC5F80#EC5F80

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

Color values

HEX#EC5F80
RGBrgb(236, 95, 128)
HSLhsl(346, 79%, 65%)
HSVhsv(346, 60%, 93%)
CMYKcmyk(0%, 59.7%, 45.8%, 7.5%)
CIE-LABlab(59.51, 57.13, 10.22)
CIE-LCHlch(59.51, 58.04, 10.14°)
OKLaboklab(67.33% 0.1736 0.0266)
OKLCHoklch(67.33% 0.176 8.7)
XYZxyz(42.5837, 27.5808, 23.4990)
Luminance0.2758 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F80 #5FECCB
analogous
#EC5FC7 #EC5F80 #EC845F
triadic
#EC5F80 #80EC5F #5F80EC
tetradic
#EC5F80 #C7EC5F #5FECCB #845FEC
square
#EC5F80 #C7EC5F #5FECCB #845FEC
split-complementary
#EC5F80 #5FEC84 #5FC7EC
monochromatic
#BA163D #E62855 #EC5F80 #F296AB #F9CCD7

Accessibility & contrast

On white

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

On black

6.52
#EC5F80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F80
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F80#FFFFFF#000000##000000
##EC5F801.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7E81
Deuteranopia (green-blind)
#A19A7D
Tritanopia (blue-blind)
#FF4C6C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5f80;
/* rgb */ color: rgb(236, 95, 128);
/* oklch */ color: oklch(67.3% 0.176 8.7);
Tailwind
colors: {
  custom: {
    50: '#f792a4',
    500: '#ec5f80',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f80;
$custom-light: #f792a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f80",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 128
  },
  "hsl": {
    "h": 345.957,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67332,
    "c": 0.17559,
    "h": 8.7
  },
  "luminance": 0.27576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5F80

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

Preview Lab → · Contrast checker → · Palette generator →

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