#EC7F83#EC7F83

#EC7F83 is a light, vivid red. Relative luminance 0.346; OKLCH L 71.9% C 0.134 H 18.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#EC7F83
RGBrgb(236, 127, 131)
HSLhsl(358, 74%, 71%)
HSVhsv(358, 46%, 93%)
CMYKcmyk(0%, 46.2%, 44.5%, 7.5%)
CIE-LABlab(65.48, 42.16, 16.85)
CIE-LCHlch(65.48, 45.40, 21.78°)
OKLaboklab(71.86% 0.127 0.043)
OKLCHoklch(71.86% 0.134 18.7)
XYZxyz(46.2810, 34.6548, 25.7200)
Luminance0.3465 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7F83 #7FECE8
analogous
#EC7FB9 #EC7F83 #ECB17F
triadic
#EC7F83 #83EC7F #7F83EC
tetradic
#EC7F83 #B9EC7F #7FECE8 #B17FEC
square
#EC7F83 #B9EC7F #7FECE8 #B17FEC
split-complementary
#EC7F83 #7FECB1 #7FB9EC
monochromatic
#D21F26 #E44A4F #EC7F83 #F4B4B7 #FBE4E5

Accessibility & contrast

On white

2.65
#EC7F83 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#EC7F83 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7F83
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7F83#FFFFFF#000000##000000
##EC7F831.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#969283
Deuteranopia (green-blind)
#B1A781
Tritanopia (blue-blind)
#FF7181
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec7f83;
/* rgb */ color: rgb(236, 127, 131);
/* oklch */ color: oklch(71.9% 0.134 18.7);
Tailwind
colors: {
  custom: {
    50: '#f6a6a7',
    500: '#ec7f83',
    950: '#000000',
  },
}
SCSS
$custom: #ec7f83;
$custom-light: #f6a6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7f83",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 131
  },
  "hsl": {
    "h": 357.798,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71858,
    "c": 0.13409,
    "h": 18.7
  },
  "luminance": 0.3465
}

Semantic roles & 50–950 ramp

primary
#EC7F83
secondary
#D5F2F1
accent
#D6CF0F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #EC7F83

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

Preview Lab → · Contrast checker → · Palette generator →

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