#EC5274#EC5274

#EC5274 is a light, vivid red. Relative luminance 0.251; OKLCH L 65.5% C 0.190 H 10.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#EC5274
RGBrgb(236, 82, 116)
HSLhsl(347, 80%, 62%)
HSVhsv(347, 65%, 93%)
CMYKcmyk(0%, 65.3%, 50.8%, 7.5%)
CIE-LABlab(57.21, 61.53, 14.02)
CIE-LCHlch(57.21, 63.10, 12.83°)
OKLaboklab(65.52% 0.1864 0.0357)
OKLCHoklch(65.52% 0.19 10.9)
XYZxyz(40.7652, 25.1337, 19.2242)
Luminance0.2513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5274 #52ECCA
analogous
#EC52C1 #EC5274 #EC7D52
triadic
#EC5274 #74EC52 #5274EC
tetradic
#EC5274 #C1EC52 #52ECCA #7D52EC
square
#EC5274 #C1EC52 #52ECCA #7D52EC
split-complementary
#EC5274 #52EC7D #52C1EC
monochromatic
#B01336 #E61B48 #EC5274 #F289A0 #F8C0CD

Accessibility & contrast

On white

3.49
#EC5274 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#EC5274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5274
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5274#FFFFFF#000000##000000
##EC52741.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#767675
Deuteranopia (green-blind)
#9E9570
Tritanopia (blue-blind)
#FF375F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec5274;
/* rgb */ color: rgb(236, 82, 116);
/* oklch */ color: oklch(65.5% 0.190 10.9);
Tailwind
colors: {
  custom: {
    50: '#f88b9b',
    500: '#ec5274',
    950: '#000000',
  },
}
SCSS
$custom: #ec5274;
$custom-light: #f88b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5274",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 346.753,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65521,
    "c": 0.18982,
    "h": 10.9
  },
  "luminance": 0.25128
}

Semantic roles & 50–950 ramp

primary
#EC5274
secondary
#B1E9DD
accent
#DDAE09
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180D0E
muted
#867D7E

Preview Lab

Preview with #EC5274

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

Preview Lab → · Contrast checker → · Palette generator →

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