#EC7B8F#EC7B8F

#EC7B8F is a light, vivid red. Relative luminance 0.340; OKLCH L 71.5% C 0.140 H 10.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#EC7B8F
RGBrgb(236, 123, 143)
HSLhsl(349, 75%, 70%)
HSVhsv(349, 48%, 93%)
CMYKcmyk(0%, 47.9%, 39.4%, 7.5%)
CIE-LABlab(64.95, 45.43, 9.31)
CIE-LCHlch(64.95, 46.38, 11.58°)
OKLaboklab(71.55% 0.1378 0.0244)
OKLCHoklch(71.55% 0.14 10.1)
XYZxyz(46.6355, 33.9864, 30.0853)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7B8F #7BECD8
analogous
#EC7BC7 #EC7B8F #ECA07B
triadic
#EC7B8F #8FEC7B #7B8FEC
tetradic
#EC7B8F #C7EC7B #7BECD8 #A07BEC
square
#EC7B8F #C7EC7B #7BECD8 #A07BEC
split-complementary
#EC7B8F #7BECA0 #7BC7EC
monochromatic
#CF1E3D #E44662 #EC7B8F #F4B0BC #FBE4E8

Accessibility & contrast

On white

2.69
#EC7B8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#EC7B8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7B8F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7B8F#FFFFFF#000000##000000
##EC7B8F1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7b8f;
/* rgb */ color: rgb(236, 123, 143);
/* oklch */ color: oklch(71.5% 0.140 10.1);
Tailwind
colors: {
  custom: {
    50: '#f6a4af',
    500: '#ec7b8f',
    950: '#000000',
  },
}
SCSS
$custom: #ec7b8f;
$custom-light: #f6a4af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7b8f",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 143
  },
  "hsl": {
    "h": 349.381,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71547,
    "c": 0.13995,
    "h": 10.1
  },
  "luminance": 0.33982
}

Semantic roles & 50–950 ramp

primary
#EC7B8F
secondary
#D2F1EB
accent
#D7B40F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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