#EC7271#EC7271

#EC7271 is a light, vivid red. Relative luminance 0.311; OKLCH L 69.5% C 0.151 H 22.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#EC7271
RGBrgb(236, 114, 113)
HSLhsl(0, 76%, 68%)
HSVhsv(0, 52%, 93%)
CMYKcmyk(0%, 51.7%, 52.1%, 7.5%)
CIE-LABlab(62.56, 46.96, 23.07)
CIE-LCHlch(62.56, 52.32, 26.16°)
OKLaboklab(69.53% 0.1402 0.0573)
OKLCHoklch(69.53% 0.151 22.2)
XYZxyz(43.5933, 31.0646, 19.3199)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7271 #71EBEC
analogous
#EC71AD #EC7271 #ECAF71
triadic
#EC7271 #71EC72 #7271EC
tetradic
#EC7271 #ADEC71 #71EBEC #AF71EC
square
#EC7271 #ADEC71 #71EBEC #AF71EC
split-complementary
#EC7271 #71ECAF #71ADEC
monochromatic
#C81C1B #E53C3B #EC7271 #F3A8A7 #FADDDD

Accessibility & contrast

On white

2.91
#EC7271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#EC7271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7271
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7271#FFFFFF#000000##000000
##EC72711.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8870
Deuteranopia (green-blind)
#ADA16E
Tritanopia (blue-blind)
#FF5F73
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec7271;
/* rgb */ color: rgb(236, 114, 113);
/* oklch */ color: oklch(69.5% 0.151 22.2);
Tailwind
colors: {
  custom: {
    50: '#f79d99',
    500: '#ec7271',
    950: '#000000',
  },
}
SCSS
$custom: #ec7271;
$custom-light: #f79d99;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7271",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 0.488,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69526,
    "c": 0.15143,
    "h": 22.2
  },
  "luminance": 0.3106
}

Semantic roles & 50–950 ramp

primary
#EC7271
secondary
#CAEFEF
accent
#D7D90D
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180F0E
muted
#867E7E

Preview Lab

Preview with #EC7271

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

Preview Lab → · Contrast checker → · Palette generator →

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