#EC998D#EC998D

#EC998D is a light, moderate red. Relative luminance 0.425; OKLCH L 76.3% C 0.102 H 28.6°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#EC998D
RGBrgb(236, 153, 141)
HSLhsl(8, 71%, 74%)
HSVhsv(8, 40%, 93%)
CMYKcmyk(0%, 35.2%, 40.3%, 7.5%)
CIE-LABlab(71.24, 29.70, 19.23)
CIE-LCHlch(71.24, 35.38, 32.92°)
OKLaboklab(76.34% 0.0896 0.0489)
OKLCHoklch(76.34% 0.102 28.6)
XYZxyz(50.7933, 42.5423, 30.7304)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC998D #8DE0EC
analogous
#EC8DB1 #EC998D #ECC98D
triadic
#EC998D #8DEC99 #998DEC
tetradic
#EC998D #B1EC8D #8DE0EC #C98DEC
square
#EC998D #B1EC8D #8DE0EC #C98DEC
split-complementary
#EC998D #8DECC9 #8DB1EC
monochromatic
#DA3B24 #E36A59 #EC998D #F5C8C1 #FBE8E5

Accessibility & contrast

On white

2.21
#EC998D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#EC998D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC998D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC998D#FFFFFF#000000##000000
##EC998D1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA48C
Deuteranopia (green-blind)
#BFB58C
Tritanopia (blue-blind)
#FD8E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec998d;
/* rgb */ color: rgb(236, 153, 141);
/* oklch */ color: oklch(76.3% 0.102 28.6);
Tailwind
colors: {
  custom: {
    50: '#f5b7ae',
    500: '#ec998d',
    950: '#000000',
  },
}
SCSS
$custom: #ec998d;
$custom-light: #f5b7ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec998d",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 141
  },
  "hsl": {
    "h": 7.579,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76336,
    "c": 0.10209,
    "h": 28.6
  },
  "luminance": 0.42538
}

Semantic roles & 50–950 ramp

primary
#EC998D
secondary
#D9EFF2
accent
#BBD312
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#171110
muted
#85807F

Preview Lab

Preview with #EC998D

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

Preview Lab → · Contrast checker → · Palette generator →

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