#EC6271#EC6271

#EC6271 is a light, vivid red. Relative luminance 0.278; OKLCH L 67.3% C 0.171 H 16.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#EC6271
RGBrgb(236, 98, 113)
HSLhsl(353, 78%, 65%)
HSVhsv(353, 58%, 93%)
CMYKcmyk(0%, 58.5%, 52.1%, 7.5%)
CIE-LABlab(59.68, 54.48, 19.17)
CIE-LCHlch(59.68, 57.75, 19.38°)
OKLaboklab(67.35% 0.1637 0.0481)
OKLCHoklch(67.35% 0.171 16.4)
XYZxyz(41.9438, 27.7656, 18.7701)
Luminance0.2776 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6271 #62ECDD
analogous
#EC62B6 #EC6271 #EC9862
triadic
#EC6271 #71EC62 #6271EC
tetradic
#EC6271 #B6EC62 #62ECDD #9862EC
square
#EC6271 #B6EC62 #62ECDD #9862EC
split-complementary
#EC6271 #62EC98 #62B6EC
monochromatic
#BD1729 #E52B40 #EC6271 #F399A2 #F9CFD4

Accessibility & contrast

On white

3.21
#EC6271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#EC6271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC6271
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6271#FFFFFF#000000##000000
##EC62711.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#827E71
Deuteranopia (green-blind)
#A59A6E
Tritanopia (blue-blind)
#FF4C68
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec6271;
/* rgb */ color: rgb(236, 98, 113);
/* oklch */ color: oklch(67.3% 0.171 16.4);
Tailwind
colors: {
  custom: {
    50: '#f89499',
    500: '#ec6271',
    950: '#000000',
  },
}
SCSS
$custom: #ec6271;
$custom-light: #f89499;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6271",
  "rgb": {
    "r": 236,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 353.478,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67349,
    "c": 0.17063,
    "h": 16.4
  },
  "luminance": 0.2776
}

Semantic roles & 50–950 ramp

primary
#EC6271
secondary
#BEECE7
accent
#DBC40B
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180E0E
muted
#867E7E

Preview Lab

Preview with #EC6271

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

Preview Lab → · Contrast checker → · Palette generator →

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