#EC6257#EC6257

#EC6257 is a light, vivid red. Relative luminance 0.273; OKLCH L 66.9% C 0.173 H 27.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#EC6257
RGBrgb(236, 98, 87)
HSLhsl(4, 80%, 63%)
HSVhsv(4, 63%, 93%)
CMYKcmyk(0%, 58.5%, 63.1%, 7.5%)
CIE-LABlab(59.22, 52.61, 33.44)
CIE-LCHlch(59.22, 62.34, 32.44°)
OKLaboklab(66.85% 0.1538 0.0793)
OKLCHoklch(66.85% 0.173 27.3)
XYZxyz(40.6839, 27.2616, 12.1346)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6257 #57E1EC
analogous
#EC5796 #EC6257 #ECAD57
triadic
#EC6257 #57EC62 #6257EC
tetradic
#EC6257 #96EC57 #57E1EC #AD57EC
square
#EC6257 #96EC57 #57E1EC #AD57EC
split-complementary
#EC6257 #57ECAD #5796EC
monochromatic
#B42014 #E62F20 #EC6257 #F2958E #F8C9C5

Accessibility & contrast

On white

3.26
#EC6257 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#EC6257 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC6257
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6257#FFFFFF#000000##000000
##EC62571.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C55
Deuteranopia (green-blind)
#A89A54
Tritanopia (blue-blind)
#FF4660
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec6257;
/* rgb */ color: rgb(236, 98, 87);
/* oklch */ color: oklch(66.9% 0.173 27.3);
Tailwind
colors: {
  custom: {
    50: '#f99386',
    500: '#ec6257',
    950: '#000000',
  },
}
SCSS
$custom: #ec6257;
$custom-light: #f99386;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6257",
  "rgb": {
    "r": 236,
    "g": 98,
    "b": 87
  },
  "hsl": {
    "h": 4.43,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66853,
    "c": 0.17307,
    "h": 27.3
  },
  "luminance": 0.27256
}

Semantic roles & 50–950 ramp

primary
#EC6257
secondary
#B5E6EA
accent
#CCDC0A
background
#FFF9F8
surface
#FFF2EF
border
#D7CCCA
text
#190D0B
muted
#877E7C

Preview Lab

Preview with #EC6257

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

Preview Lab → · Contrast checker → · Palette generator →

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