#EC9871#EC9871

#EC9871 is a light, moderate orange. Relative luminance 0.415; OKLCH L 75.6% C 0.114 H 45.5°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#EC9871
RGBrgb(236, 152, 113)
HSLhsl(19, 76%, 68%)
HSVhsv(19, 52%, 93%)
CMYKcmyk(0%, 35.6%, 52.1%, 7.5%)
CIE-LABlab(70.51, 27.47, 33.51)
CIE-LCHlch(70.51, 43.33, 50.65°)
OKLaboklab(75.61% 0.0803 0.0816)
OKLCHoklch(75.61% 0.114 45.5)
XYZxyz(48.8039, 41.4858, 21.0568)
Luminance0.4148 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9871 #71C5EC
analogous
#EC7187 #EC9871 #ECD571
triadic
#EC9871 #71EC98 #9871EC
tetradic
#EC9871 #87EC71 #71C5EC #D571EC
square
#EC9871 #87EC71 #71C5EC #D571EC
split-complementary
#EC9871 #71ECD5 #7187EC
monochromatic
#C8521B #E5713B #EC9871 #F3BFA7 #FAE6DD

Accessibility & contrast

On white

2.26
#EC9871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#EC9871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9871
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9871#FFFFFF#000000##000000
##EC98711.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA26E
Deuteranopia (green-blind)
#C2B470
Tritanopia (blue-blind)
#FF898E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec9871;
/* rgb */ color: rgb(236, 152, 113);
/* oklch */ color: oklch(75.6% 0.114 45.5);
Tailwind
colors: {
  custom: {
    50: '#f6b79a',
    500: '#ec9871',
    950: '#000000',
  },
}
SCSS
$custom: #ec9871;
$custom-light: #f6b79a;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9871",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 19.024,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7561,
    "c": 0.11444,
    "h": 45.5
  },
  "luminance": 0.41482
}

Semantic roles & 50–950 ramp

primary
#EC9871
secondary
#CAE3EF
accent
#98D90D
background
#FFFBF9
surface
#FFF6F2
border
#D7D0CC
text
#18110E
muted
#86807E

Preview Lab

Preview with #EC9871

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

Preview Lab → · Contrast checker → · Palette generator →

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