#EC998F#EC998F

#EC998F is a light, moderate red. Relative luminance 0.426; OKLCH L 76.4% C 0.102 H 27.2°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#EC998F
RGBrgb(236, 153, 143)
HSLhsl(6, 71%, 74%)
HSVhsv(6, 39%, 93%)
CMYKcmyk(0%, 35.2%, 39.4%, 7.5%)
CIE-LABlab(71.28, 29.93, 18.18)
CIE-LCHlch(71.28, 35.02, 31.29°)
OKLaboklab(76.38% 0.0904 0.0464)
OKLCHoklch(76.38% 0.102 27.2)
XYZxyz(50.9435, 42.6024, 31.5212)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC998F #8FE2EC
analogous
#EC8FB4 #EC998F #ECC88F
triadic
#EC998F #8FEC99 #998FEC
tetradic
#EC998F #B4EC8F #8FE2EC #C88FEC
square
#EC998F #B4EC8F #8FE2EC #C88FEC
split-complementary
#EC998F #8FECC8 #8FB4EC
monochromatic
#DA3A26 #E3695B #EC998F #F5C9C3 #FBE7E5

Accessibility & contrast

On white

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

On black

9.52
#EC998F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC998F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC998F#FFFFFF#000000##000000
##EC998F1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA58E
Deuteranopia (green-blind)
#BFB58E
Tritanopia (blue-blind)
#FD8E97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec998f;
/* rgb */ color: rgb(236, 153, 143);
/* oklch */ color: oklch(76.4% 0.102 27.2);
Tailwind
colors: {
  custom: {
    50: '#f4b7af',
    500: '#ec998f',
    950: '#000000',
  },
}
SCSS
$custom: #ec998f;
$custom-light: #f4b7af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec998f",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 143
  },
  "hsl": {
    "h": 6.452,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76381,
    "c": 0.1016,
    "h": 27.2
  },
  "luminance": 0.42599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC998F

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

Preview Lab → · Contrast checker → · Palette generator →

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