#EC6172#EC6172

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

Color values

HEX#EC6172
RGBrgb(236, 97, 114)
HSLhsl(353, 79%, 65%)
HSVhsv(353, 59%, 93%)
CMYKcmyk(0%, 58.9%, 51.7%, 7.5%)
CIE-LABlab(59.53, 55.01, 18.39)
CIE-LCHlch(59.53, 58.00, 18.48°)
OKLaboklab(67.24% 0.1655 0.0462)
OKLCHoklch(67.24% 0.172 15.6)
XYZxyz(41.9074, 27.6023, 19.0372)
Luminance0.2760 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6172 #61ECDB
analogous
#EC61B7 #EC6172 #EC9561
triadic
#EC6172 #72EC61 #6172EC
tetradic
#EC6172 #B7EC61 #61ECDB #9561EC
square
#EC6172 #B7EC61 #61ECDB #9561EC
split-complementary
#EC6172 #61EC95 #61B7EC
monochromatic
#BC172B #E52A41 #EC6172 #F398A3 #F9CED4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC6172#FFFFFF#000000##000000
##EC61721.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)
#817D72
Deuteranopia (green-blind)
#A49A6F
Tritanopia (blue-blind)
#FF4B68
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec6172;
/* rgb */ color: rgb(236, 97, 114);
/* oklch */ color: oklch(67.2% 0.172 15.6);
Tailwind
colors: {
  custom: {
    50: '#f8939a',
    500: '#ec6172',
    950: '#000000',
  },
}
SCSS
$custom: #ec6172;
$custom-light: #f8939a;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6172",
  "rgb": {
    "r": 236,
    "g": 97,
    "b": 114
  },
  "hsl": {
    "h": 352.662,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67244,
    "c": 0.17186,
    "h": 15.6
  },
  "luminance": 0.27597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC6172

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

Preview Lab → · Contrast checker → · Palette generator →

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