#EC867F#EC867F

#EC867F is a light, vivid red. Relative luminance 0.364; OKLCH L 72.9% C 0.126 H 24.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#EC867F
RGBrgb(236, 134, 127)
HSLhsl(4, 74%, 71%)
HSVhsv(4, 46%, 93%)
CMYKcmyk(0%, 43.2%, 46.2%, 7.5%)
CIE-LABlab(66.84, 38.18, 20.96)
CIE-LCHlch(66.84, 43.56, 28.77°)
OKLaboklab(72.87% 0.1145 0.0528)
OKLCHoklch(72.87% 0.126 24.8)
XYZxyz(46.9508, 36.4198, 24.6316)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC867F #7FE5EC
analogous
#EC7FAE #EC867F #ECBC7F
triadic
#EC867F #7FEC86 #867FEC
tetradic
#EC867F #AEEC7F #7FE5EC #BC7FEC
square
#EC867F #AEEC7F #7FE5EC #BC7FEC
split-complementary
#EC867F #7FECBC #7FAEEC
monochromatic
#D22B1F #E4544A #EC867F #F4B8B4 #FBE6E4

Accessibility & contrast

On white

2.54
#EC867F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#EC867F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC867F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC867F#FFFFFF#000000##000000
##EC867F1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D967E
Deuteranopia (green-blind)
#B5AB7D
Tritanopia (blue-blind)
#FF7885
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec867f;
/* rgb */ color: rgb(236, 134, 127);
/* oklch */ color: oklch(72.9% 0.126 24.8);
Tailwind
colors: {
  custom: {
    50: '#f6aba4',
    500: '#ec867f',
    950: '#000000',
  },
}
SCSS
$custom: #ec867f;
$custom-light: #f6aba4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec867f",
  "rgb": {
    "r": 236,
    "g": 134,
    "b": 127
  },
  "hsl": {
    "h": 3.853,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72868,
    "c": 0.12605,
    "h": 24.8
  },
  "luminance": 0.36415
}

Semantic roles & 50–950 ramp

primary
#EC867F
secondary
#D5F0F2
accent
#C9D60F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#18100F
muted
#867F7F

Preview Lab

Preview with #EC867F

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

Preview Lab → · Contrast checker → · Palette generator →

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