#EC6171#EC6171

#EC6171 is a light, vivid red. Relative luminance 0.276; OKLCH L 67.2% C 0.172 H 16.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#EC6171
RGBrgb(236, 97, 113)
HSLhsl(353, 79%, 65%)
HSVhsv(353, 59%, 93%)
CMYKcmyk(0%, 58.9%, 52.1%, 7.5%)
CIE-LABlab(59.51, 54.93, 18.94)
CIE-LCHlch(59.51, 58.10, 19.02°)
OKLaboklab(67.22% 0.1651 0.0475)
OKLCHoklch(67.22% 0.172 16.1)
XYZxyz(41.8508, 27.5796, 18.7391)
Luminance0.2757 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6171 #61ECDC
analogous
#EC61B6 #EC6171 #EC9761
triadic
#EC6171 #71EC61 #6171EC
tetradic
#EC6171 #B6EC61 #61ECDC #9761EC
square
#EC6171 #B6EC61 #61ECDC #9761EC
split-complementary
#EC6171 #61EC97 #61B6EC
monochromatic
#BC172A #E52A40 #EC6171 #F398A2 #F9CED3

Accessibility & contrast

On white

3.22
#EC6171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#EC6171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC6171
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6171#FFFFFF#000000##000000
##EC61711.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#817D71
Deuteranopia (green-blind)
#A49A6E
Tritanopia (blue-blind)
#FF4B67
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec6171;
/* rgb */ color: rgb(236, 97, 113);
/* oklch */ color: oklch(67.2% 0.172 16.1);
Tailwind
colors: {
  custom: {
    50: '#f89399',
    500: '#ec6171',
    950: '#000000',
  },
}
SCSS
$custom: #ec6171;
$custom-light: #f89399;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6171",
  "rgb": {
    "r": 236,
    "g": 97,
    "b": 113
  },
  "hsl": {
    "h": 353.094,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67222,
    "c": 0.17184,
    "h": 16.1
  },
  "luminance": 0.27575
}

Semantic roles & 50–950 ramp

primary
#EC6171
secondary
#BDECE6
accent
#DBC30B
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC6171

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

Preview Lab → · Contrast checker → · Palette generator →

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