#EC9FA2#EC9FA2

#EC9FA2 is a light, moderate red. Relative luminance 0.452; OKLCH L 77.9% C 0.092 H 16.8°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#EC9FA2
RGBrgb(236, 159, 162)
HSLhsl(358, 67%, 77%)
HSVhsv(358, 33%, 93%)
CMYKcmyk(0%, 32.6%, 31.4%, 7.5%)
CIE-LABlab(73.05, 29.03, 10.19)
CIE-LCHlch(73.05, 30.77, 19.34°)
OKLaboklab(77.88% 0.0882 0.0267)
OKLCHoklch(77.88% 0.092 16.8)
XYZxyz(53.5134, 45.2413, 40.0893)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9FA2 #9FECE9
analogous
#EC9FC9 #EC9FA2 #ECC29F
triadic
#EC9FA2 #A2EC9F #9FA2EC
tetradic
#EC9FA2 #C9EC9F #9FECE9 #C29FEC
square
#EC9FA2 #C9EC9F #9FECE9 #C29FEC
split-complementary
#EC9FA2 #9FECC2 #9FC9EC
monochromatic
#D8393F #E26C71 #EC9FA2 #F6D2D3 #FAE5E6

Accessibility & contrast

On white

2.09
#EC9FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#EC9FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9FA2
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9FA2#FFFFFF#000000##000000
##EC9FA21.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADAAA2
Deuteranopia (green-blind)
#C0B9A1
Tritanopia (blue-blind)
#FB97A0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec9fa2;
/* rgb */ color: rgb(236, 159, 162);
/* oklch */ color: oklch(77.9% 0.092 16.8);
Tailwind
colors: {
  custom: {
    50: '#f4bcbd',
    500: '#ec9fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ec9fa2;
$custom-light: #f4bcbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9fa2",
  "rgb": {
    "r": 236,
    "g": 159,
    "b": 162
  },
  "hsl": {
    "h": 357.662,
    "s": 66.957,
    "l": 77.451
  },
  "oklch": {
    "l": 0.77877,
    "c": 0.09213,
    "h": 16.8
  },
  "luminance": 0.45238
}

Semantic roles & 50–950 ramp

primary
#EC9FA2
secondary
#DAF1F1
accent
#CFC817
background
#FFFBFB
surface
#FEF6F6
border
#D6D0D0
text
#171212
muted
#858181

Preview Lab

Preview with #EC9FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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