#EC2F15#EC2F15

#EC2F15 is a mid, highly saturated red. Relative luminance 0.199; OKLCH L 61.1% C 0.226 H 31.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#EC2F15
RGBrgb(236, 47, 21)
HSLhsl(7, 85%, 50%)
HSVhsv(7, 91%, 93%)
CMYKcmyk(0%, 80.1%, 91.1%, 7.5%)
CIE-LABlab(51.75, 68.88, 58.69)
CIE-LCHlch(51.75, 90.49, 40.43°)
OKLaboklab(61.06% 0.1932 0.1166)
OKLCHoklch(61.06% 0.226 31.1)
XYZxyz(35.7486, 19.9260, 2.6732)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC2F15 #15D2EC
analogous
#EC1566 #EC2F15 #EC9B15
triadic
#EC2F15 #15EC2F #2F15EC
tetradic
#EC2F15 #66EC15 #15D2EC #9B15EC
square
#EC2F15 #66EC15 #15D2EC #9B15EC
split-complementary
#EC2F15 #15EC9B #1566EC
monochromatic
#7C180A #B5230F #EC2F15 #F1614E #F59486

Accessibility & contrast

On white

4.21
#EC2F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#EC2F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC2F15
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC2F15#FFFFFF#000000##000000
##EC2F151.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E610B
Deuteranopia (green-blind)
#9C8A00
Tritanopia (blue-blind)
#FF002D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ec2f15;
/* rgb */ color: rgb(236, 47, 21);
/* oklch */ color: oklch(61.1% 0.226 31.1);
Tailwind
colors: {
  custom: {
    50: '#fe795a',
    500: '#ec2f15',
    950: '#000000',
  },
}
SCSS
$custom: #ec2f15;
$custom-light: #fe795a;
$custom-dark: #000000;
JSON
{
  "hex": "#ec2f15",
  "rgb": {
    "r": 236,
    "g": 47,
    "b": 21
  },
  "hsl": {
    "h": 7.256,
    "s": 84.98,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.22562,
    "h": 31.1
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

primary
#EC2F15
secondary
#7ED3DE
accent
#E2FB2D
background
#FFF8F5
surface
#FFEFE9
border
#D7CAC5
text
#1A0A04
muted
#877C79

Preview Lab

Preview with #EC2F15

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

Preview Lab → · Contrast checker → · Palette generator →

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