#EC899D#EC899D

#EC899D is a light, vivid red. Relative luminance 0.382; OKLCH L 74.1% C 0.122 H 7.5°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#EC899D
RGBrgb(236, 137, 157)
HSLhsl(348, 72%, 73%)
HSVhsv(348, 42%, 93%)
CMYKcmyk(0%, 41.9%, 33.5%, 7.5%)
CIE-LABlab(68.14, 39.94, 5.95)
CIE-LCHlch(68.14, 40.38, 8.48°)
OKLaboklab(74.08% 0.1211 0.016)
OKLCHoklch(74.08% 0.122 7.5)
XYZxyz(49.6256, 38.1626, 36.6442)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC899D #89ECD8
analogous
#EC89CE #EC899D #ECA689
triadic
#EC899D #9DEC89 #899DEC
tetradic
#EC899D #CEEC89 #89ECD8 #A689EC
square
#EC899D #CEEC89 #89ECD8 #A689EC
split-complementary
#EC899D #89ECA6 #89CEEC
monochromatic
#D82347 #E45471 #EC899D #F4BEC9 #FBE5E9

Accessibility & contrast

On white

2.43
#EC899D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#EC899D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC899D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC899D#FFFFFF#000000##000000
##EC899D1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A9B9D
Deuteranopia (green-blind)
#B2AD9B
Tritanopia (blue-blind)
#FC8090
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec899d;
/* rgb */ color: rgb(236, 137, 157);
/* oklch */ color: oklch(74.1% 0.122 7.5);
Tailwind
colors: {
  custom: {
    50: '#f5adb9',
    500: '#ec899d',
    950: '#000000',
  },
}
SCSS
$custom: #ec899d;
$custom-light: #f5adb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec899d",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 157
  },
  "hsl": {
    "h": 347.879,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.12219,
    "h": 7.5
  },
  "luminance": 0.38159
}

Semantic roles & 50–950 ramp

primary
#EC899D
secondary
#D9F2ED
accent
#D4AD11
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171011
muted
#857F80

Preview Lab

Preview with #EC899D

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

Preview Lab → · Contrast checker → · Palette generator →

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