#EC98AB#EC98AB

#EC98AB is a light, moderate red. Relative luminance 0.432; OKLCH L 76.9% C 0.103 H 5.1°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#EC98AB
RGBrgb(236, 152, 171)
HSLhsl(346, 69%, 76%)
HSVhsv(346, 36%, 93%)
CMYKcmyk(0%, 35.6%, 27.5%, 7.5%)
CIE-LABlab(71.71, 33.92, 3.29)
CIE-LCHlch(71.71, 34.08, 5.55°)
OKLaboklab(76.92% 0.1026 0.0091)
OKLCHoklch(76.92% 0.103 5.1)
XYZxyz(53.1724, 43.2332, 44.0644)
Luminance0.4323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98AB #98ECD9
analogous
#EC98D5 #EC98AB #ECAF98
triadic
#EC98AB #ABEC98 #98ABEC
tetradic
#EC98AB #D5EC98 #98ECD9 #AF98EC
square
#EC98AB #D5EC98 #98ECD9 #AF98EC
split-complementary
#EC98AB #98ECAF #98D5EC
monochromatic
#D93157 #E26481 #EC98AB #F6CCD5 #FAE5EA

Accessibility & contrast

On white

2.18
#EC98AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#EC98AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98AB
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98AB#FFFFFF#000000##000000
##EC98AB1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A6AC
Deuteranopia (green-blind)
#B9B6A9
Tritanopia (blue-blind)
#FA929F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec98ab;
/* rgb */ color: rgb(236, 152, 171);
/* oklch */ color: oklch(76.9% 0.103 5.1);
Tailwind
colors: {
  custom: {
    50: '#f4b7c3',
    500: '#ec98ab',
    950: '#000000',
  },
}
SCSS
$custom: #ec98ab;
$custom-light: #f4b7c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98ab",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 171
  },
  "hsl": {
    "h": 346.429,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76923,
    "c": 0.10303,
    "h": 5.1
  },
  "luminance": 0.4323
}

Semantic roles & 50–950 ramp

primary
#EC98AB
secondary
#D9F2EC
accent
#D1A615
background
#FFFBFC
surface
#FEF6F8
border
#D6D0D1
text
#171112
muted
#858081

Preview Lab

Preview with #EC98AB

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

Preview Lab → · Contrast checker → · Palette generator →

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