#EC8AA2#EC8AA2

#EC8AA2 is a light, vivid red. Relative luminance 0.386; OKLCH L 74.4% C 0.122 H 4.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#EC8AA2
RGBrgb(236, 138, 162)
HSLhsl(345, 72%, 73%)
HSVhsv(345, 42%, 93%)
CMYKcmyk(0%, 41.5%, 31.4%, 7.5%)
CIE-LABlab(68.48, 40.05, 3.63)
CIE-LCHlch(68.48, 40.22, 5.18°)
OKLaboklab(74.38% 0.1214 0.01)
OKLCHoklch(74.38% 0.122 4.7)
XYZxyz(50.2040, 38.6225, 38.9861)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8AA2 #8AECD4
analogous
#EC8AD3 #EC8AA2 #ECA38A
triadic
#EC8AA2 #A2EC8A #8AA2EC
tetradic
#EC8AA2 #D3EC8A #8AECD4 #A38AEC
square
#EC8AA2 #D3EC8A #8AECD4 #A38AEC
split-complementary
#EC8AA2 #8AECA3 #8AD3EC
monochromatic
#D82350 #E35578 #EC8AA2 #F5BFCC #FBE5EA

Accessibility & contrast

On white

2.41
#EC8AA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#EC8AA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8AA2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8AA2#FFFFFF#000000##000000
##EC8AA21.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A9CA3
Deuteranopia (green-blind)
#B2AEA0
Tritanopia (blue-blind)
#FB8292
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec8aa2;
/* rgb */ color: rgb(236, 138, 162);
/* oklch */ color: oklch(74.4% 0.122 4.7);
Tailwind
colors: {
  custom: {
    50: '#f4aebd',
    500: '#ec8aa2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8aa2;
$custom-light: #f4aebd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8aa2",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 162
  },
  "hsl": {
    "h": 345.306,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74379,
    "c": 0.12181,
    "h": 4.7
  },
  "luminance": 0.38618
}

Semantic roles & 50–950 ramp

primary
#EC8AA2
secondary
#D9F2EC
accent
#D4A411
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC8AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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