#EC987A#EC987A

#EC987A is a light, moderate orange. Relative luminance 0.417; OKLCH L 75.8% C 0.110 H 40.4°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#EC987A
RGBrgb(236, 152, 122)
HSLhsl(16, 75%, 70%)
HSVhsv(16, 48%, 93%)
CMYKcmyk(0%, 35.6%, 48.3%, 7.5%)
CIE-LABlab(70.66, 28.29, 28.84)
CIE-LCHlch(70.66, 40.40, 45.56°)
OKLaboklab(75.77% 0.0838 0.0713)
OKLCHoklch(75.77% 0.11 40.4)
XYZxyz(49.3359, 41.6986, 23.8588)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC987A #7ACEEC
analogous
#EC7A95 #EC987A #ECD17A
triadic
#EC987A #7AEC98 #987AEC
tetradic
#EC987A #95EC7A #7ACEEC #D17AEC
square
#EC987A #95EC7A #7ACEEC #D17AEC
split-complementary
#EC987A #7AECD1 #7A95EC
monochromatic
#CE4C1D #E46F44 #EC987A #F4C1B0 #FBEAE4

Accessibility & contrast

On white

2.25
#EC987A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#EC987A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC987A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC987A#FFFFFF#000000##000000
##EC987A1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA278
Deuteranopia (green-blind)
#C1B479
Tritanopia (blue-blind)
#FE8A90
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec987a;
/* rgb */ color: rgb(236, 152, 122);
/* oklch */ color: oklch(75.8% 0.110 40.4);
Tailwind
colors: {
  custom: {
    50: '#f5b7a0',
    500: '#ec987a',
    950: '#000000',
  },
}
SCSS
$custom: #ec987a;
$custom-light: #f5b7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec987a",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 15.789,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.75772,
    "c": 0.10998,
    "h": 40.4
  },
  "luminance": 0.41694
}

Semantic roles & 50–950 ramp

primary
#EC987A
secondary
#D1E8F1
accent
#A2D70E
background
#FFFBF9
surface
#FFF6F2
border
#D7D0CC
text
#18110F
muted
#86807E

Preview Lab

Preview with #EC987A

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

Preview Lab → · Contrast checker → · Palette generator →

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