#EC7C8F#EC7C8F

#EC7C8F is a light, vivid red. Relative luminance 0.342; OKLCH L 71.7% C 0.139 H 10.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#EC7C8F
RGBrgb(236, 124, 143)
HSLhsl(350, 75%, 71%)
HSVhsv(350, 47%, 93%)
CMYKcmyk(0%, 47.5%, 39.4%, 7.5%)
CIE-LABlab(65.15, 44.93, 9.59)
CIE-LCHlch(65.15, 45.94, 12.04°)
OKLaboklab(71.7% 0.1363 0.0251)
OKLCHoklch(71.7% 0.139 10.5)
XYZxyz(46.7602, 34.2358, 30.1268)
Luminance0.3423 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7C8F #7CECD9
analogous
#EC7CC7 #EC7C8F #ECA17C
triadic
#EC7C8F #8FEC7C #7C8FEC
tetradic
#EC7C8F #C7EC7C #7CECD9 #A17CEC
square
#EC7C8F #C7EC7C #7CECD9 #A17CEC
split-complementary
#EC7C8F #7CECA1 #7CC7EC
monochromatic
#D01E3C #E44761 #EC7C8F #F4B1BD #FBE4E8

Accessibility & contrast

On white

2.68
#EC7C8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#EC7C8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7C8F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7C8F#FFFFFF#000000##000000
##EC7C8F1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91918F
Deuteranopia (green-blind)
#ADA68D
Tritanopia (blue-blind)
#FE7083
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec7c8f;
/* rgb */ color: rgb(236, 124, 143);
/* oklch */ color: oklch(71.7% 0.139 10.5);
Tailwind
colors: {
  custom: {
    50: '#f5a4af',
    500: '#ec7c8f',
    950: '#000000',
  },
}
SCSS
$custom: #ec7c8f;
$custom-light: #f5a4af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7c8f",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 143
  },
  "hsl": {
    "h": 349.821,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71697,
    "c": 0.13855,
    "h": 10.5
  },
  "luminance": 0.34231
}

Semantic roles & 50–950 ramp

primary
#EC7C8F
secondary
#D3F1EC
accent
#D7B50F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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