#EC6A7C#EC6A7C

#EC6A7C is a light, vivid red. Relative luminance 0.296; OKLCH L 68.7% C 0.161 H 13.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#EC6A7C
RGBrgb(236, 106, 124)
HSLhsl(352, 77%, 67%)
HSVhsv(352, 55%, 93%)
CMYKcmyk(0%, 55.1%, 47.5%, 7.5%)
CIE-LABlab(61.31, 51.76, 15.06)
CIE-LCHlch(61.31, 53.91, 16.22°)
OKLaboklab(68.65% 0.1563 0.0385)
OKLCHoklch(68.65% 0.161 13.8)
XYZxyz(43.3873, 29.6011, 22.4936)
Luminance0.2960 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6A7C #6AECDA
analogous
#EC6ABD #EC6A7C #EC996A
triadic
#EC6A7C #7CEC6A #6A7CEC
tetradic
#EC6A7C #BDEC6A #6AECDA #996AEC
square
#EC6A7C #BDEC6A #6AECDA #996AEC
split-complementary
#EC6A7C #6AEC99 #6ABDEC
monochromatic
#C31930 #E5344C #EC6A7C #F3A0AC #FAD7DB

Accessibility & contrast

On white

3.04
#EC6A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#EC6A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC6A7C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6A7C#FFFFFF#000000##000000
##EC6A7C1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86847C
Deuteranopia (green-blind)
#A79E79
Tritanopia (blue-blind)
#FF5871
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec6a7c;
/* rgb */ color: rgb(236, 106, 124);
/* oklch */ color: oklch(68.7% 0.161 13.8);
Tailwind
colors: {
  custom: {
    50: '#f799a1',
    500: '#ec6a7c',
    950: '#000000',
  },
}
SCSS
$custom: #ec6a7c;
$custom-light: #f799a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6a7c",
  "rgb": {
    "r": 236,
    "g": 106,
    "b": 124
  },
  "hsl": {
    "h": 351.692,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68653,
    "c": 0.161,
    "h": 13.8
  },
  "luminance": 0.29596
}

Semantic roles & 50–950 ramp

primary
#EC6A7C
secondary
#C4EEE8
accent
#DABD0C
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180E0F
muted
#867E7E

Preview Lab

Preview with #EC6A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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