#EC8F7E#EC8F7E

#EC8F7E is a light, moderate red. Relative luminance 0.390; OKLCH L 74.3% C 0.117 H 31.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#EC8F7E
RGBrgb(236, 143, 126)
HSLhsl(9, 74%, 71%)
HSVhsv(9, 47%, 93%)
CMYKcmyk(0%, 39.4%, 46.6%, 7.5%)
CIE-LABlab(68.74, 33.41, 24.09)
CIE-LCHlch(68.74, 41.19, 35.80°)
OKLaboklab(74.32% 0.0997 0.0603)
OKLCHoklch(74.32% 0.117 31.1)
XYZxyz(48.1832, 38.9884, 24.7225)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8F7E #7EDBEC
analogous
#EC7EA4 #EC8F7E #ECC67E
triadic
#EC8F7E #7EEC8F #8F7EEC
tetradic
#EC8F7E #A4EC7E #7EDBEC #C67EEC
square
#EC8F7E #A4EC7E #7EDBEC #C67EEC
split-complementary
#EC8F7E #7EECC6 #7EA4EC
monochromatic
#D13A1F #E46149 #EC8F7E #F4BDB3 #FBE8E4

Accessibility & contrast

On white

2.39
#EC8F7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#EC8F7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8F7E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8F7E#FFFFFF#000000##000000
##EC8F7E1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59C7C
Deuteranopia (green-blind)
#BBAF7D
Tritanopia (blue-blind)
#FE818B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec8f7e;
/* rgb */ color: rgb(236, 143, 126);
/* oklch */ color: oklch(74.3% 0.117 31.1);
Tailwind
colors: {
  custom: {
    50: '#f5b1a3',
    500: '#ec8f7e',
    950: '#000000',
  },
}
SCSS
$custom: #ec8f7e;
$custom-light: #f5b1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8f7e",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 126
  },
  "hsl": {
    "h": 9.273,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74319,
    "c": 0.11652,
    "h": 31.1
  },
  "luminance": 0.38984
}

Semantic roles & 50–950 ramp

primary
#EC8F7E
secondary
#D4EDF2
accent
#B8D60F
background
#FFFAFA
surface
#FFF5F3
border
#D7CFCD
text
#18110F
muted
#86807F

Preview Lab

Preview with #EC8F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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