#EC838F#EC838F

#EC838F is a light, vivid red. Relative luminance 0.360; OKLCH L 72.8% C 0.129 H 13.5°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#EC838F
RGBrgb(236, 131, 143)
HSLhsl(353, 73%, 72%)
HSVhsv(353, 44%, 93%)
CMYKcmyk(0%, 44.5%, 39.4%, 7.5%)
CIE-LABlab(66.56, 41.39, 11.59)
CIE-LCHlch(66.56, 42.98, 15.64°)
OKLaboklab(72.77% 0.1254 0.0301)
OKLCHoklch(72.77% 0.129 13.5)
XYZxyz(47.6688, 36.0530, 30.4297)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC838F #83ECE0
analogous
#EC83C4 #EC838F #ECAC83
triadic
#EC838F #8FEC83 #838FEC
tetradic
#EC838F #C4EC83 #83ECE0 #AC83EC
square
#EC838F #C4EC83 #83ECE0 #AC83EC
split-complementary
#EC838F #83ECAC #83C4EC
monochromatic
#D42035 #E44E5F #EC838F #F4B8BF #FBE4E7

Accessibility & contrast

On white

2.56
#EC838F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#EC838F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC838F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC838F#FFFFFF#000000##000000
##EC838F1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97958F
Deuteranopia (green-blind)
#B1AA8D
Tritanopia (blue-blind)
#FD7788
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec838f;
/* rgb */ color: rgb(236, 131, 143);
/* oklch */ color: oklch(72.8% 0.129 13.5);
Tailwind
colors: {
  custom: {
    50: '#f5a9af',
    500: '#ec838f',
    950: '#000000',
  },
}
SCSS
$custom: #ec838f;
$custom-light: #f5a9af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec838f",
  "rgb": {
    "r": 236,
    "g": 131,
    "b": 143
  },
  "hsl": {
    "h": 353.143,
    "s": 73.427,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72768,
    "c": 0.12892,
    "h": 13.5
  },
  "luminance": 0.36049
}

Semantic roles & 50–950 ramp

primary
#EC838F
secondary
#D8F3F0
accent
#D6BF10
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#171010
muted
#857F7F

Preview Lab

Preview with #EC838F

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

Preview Lab → · Contrast checker → · Palette generator →

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