#EC7162#EC7162

#EC7162 is a light, vivid red. Relative luminance 0.305; OKLCH L 69.1% C 0.155 H 28.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#EC7162
RGBrgb(236, 113, 98)
HSLhsl(7, 78%, 65%)
HSVhsv(7, 58%, 93%)
CMYKcmyk(0%, 52.1%, 58.5%, 7.5%)
CIE-LABlab(62.11, 46.28, 30.93)
CIE-LCHlch(62.11, 55.66, 33.75°)
OKLaboklab(69.1% 0.1359 0.0747)
OKLCHoklch(69.1% 0.155 28.8)
XYZxyz(42.7054, 30.5300, 15.1969)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7162 #62DDEC
analogous
#EC6298 #EC7162 #ECB662
triadic
#EC7162 #62EC71 #7162EC
tetradic
#EC7162 #98EC62 #62DDEC #B662EC
square
#EC7162 #98EC62 #62DDEC #B662EC
split-complementary
#EC7162 #62ECB6 #6298EC
monochromatic
#BD2917 #E5402B #EC7162 #F3A299 #F9D4CF

Accessibility & contrast

On white

2.96
#EC7162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#EC7162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7162
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7162#FFFFFF#000000##000000
##EC71621.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8660
Deuteranopia (green-blind)
#AEA05F
Tritanopia (blue-blind)
#FF5C6E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec7162;
/* rgb */ color: rgb(236, 113, 98);
/* oklch */ color: oklch(69.1% 0.155 28.8);
Tailwind
colors: {
  custom: {
    50: '#f89d8f',
    500: '#ec7162',
    950: '#000000',
  },
}
SCSS
$custom: #ec7162;
$custom-light: #f89d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7162",
  "rgb": {
    "r": 236,
    "g": 113,
    "b": 98
  },
  "hsl": {
    "h": 6.522,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69097,
    "c": 0.15507,
    "h": 28.8
  },
  "luminance": 0.30525
}

Semantic roles & 50–950 ramp

primary
#EC7162
secondary
#BEE7EC
accent
#C4DB0B
background
#FFF9F8
surface
#FFF2F0
border
#D7CCCB
text
#180E0C
muted
#867E7D

Preview Lab

Preview with #EC7162

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

Preview Lab → · Contrast checker → · Palette generator →

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