#EC5F7B#EC5F7B

#EC5F7B is a light, vivid red. Relative luminance 0.274; OKLCH L 67.2% C 0.175 H 11.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#EC5F7B
RGBrgb(236, 95, 123)
HSLhsl(348, 79%, 65%)
HSVhsv(348, 60%, 93%)
CMYKcmyk(0%, 59.7%, 47.9%, 7.5%)
CIE-LABlab(59.39, 56.67, 12.97)
CIE-LCHlch(59.39, 58.13, 12.89°)
OKLaboklab(67.21% 0.1717 0.0333)
OKLCHoklch(67.21% 0.175 11)
XYZxyz(42.2627, 27.4524, 21.8083)
Luminance0.2745 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F7B #5FECD0
analogous
#EC5FC2 #EC5F7B #EC895F
triadic
#EC5F7B #7BEC5F #5F7BEC
tetradic
#EC5F7B #C2EC5F #5FECD0 #895FEC
square
#EC5F7B #C2EC5F #5FECD0 #895FEC
split-complementary
#EC5F7B #5FEC89 #5FC2EC
monochromatic
#BA1637 #E6284E #EC5F7B #F296A8 #F9CCD5

Accessibility & contrast

On white

3.24
#EC5F7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#EC5F7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F7B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F7B#FFFFFF#000000##000000
##EC5F7B1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7D7B
Deuteranopia (green-blind)
#A29A78
Tritanopia (blue-blind)
#FF4B6A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5f7b;
/* rgb */ color: rgb(236, 95, 123);
/* oklch */ color: oklch(67.2% 0.175 11.0);
Tailwind
colors: {
  custom: {
    50: '#f792a1',
    500: '#ec5f7b',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f7b;
$custom-light: #f792a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f7b",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 123
  },
  "hsl": {
    "h": 348.085,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67205,
    "c": 0.17491,
    "h": 11
  },
  "luminance": 0.27447
}

Semantic roles & 50–950 ramp

primary
#EC5F7B
secondary
#BBEBE2
accent
#DBB20A
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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