#E31246#E31246

#E31246 is a mid, highly saturated red. Relative luminance 0.172; OKLCH L 58.5% C 0.228 H 17.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#E31246
RGBrgb(227, 18, 70)
HSLhsl(345, 85%, 48%)
HSVhsv(345, 92%, 89%)
CMYKcmyk(0%, 92.1%, 69.2%, 11%)
CIE-LABlab(48.52, 73.31, 29.71)
CIE-LCHlch(48.52, 79.11, 22.06°)
OKLaboklab(58.51% 0.2174 0.0691)
OKLCHoklch(58.51% 0.228 17.6)
XYZxyz(33.0043, 17.2111, 7.3775)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E31246 #12E3AF
analogous
#E312AE #E31246 #E34712
triadic
#E31246 #46E312 #1246E3
tetradic
#E31246 #AEE312 #12E3AF #4712E3
square
#E31246 #AEE312 #12E3AF #4712E3
split-complementary
#E31246 #12E347 #12AEE3
monochromatic
#720923 #AA0E35 #E31246 #F0426D #F57B99

Accessibility & contrast

On white

4.73
#E31246 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#E31246 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #E31246
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E31246#FFFFFF#000000##FFFFFF
##E312461.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5946
Deuteranopia (green-blind)
#8F8240
Tritanopia (blue-blind)
#FA002D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #e31246;
/* rgb */ color: rgb(227, 18, 70);
/* oklch */ color: oklch(58.5% 0.228 17.6);
Tailwind
colors: {
  custom: {
    50: '#f67179',
    500: '#e31246',
    950: '#000000',
  },
}
SCSS
$custom: #e31246;
$custom-light: #f67179;
$custom-dark: #000000;
JSON
{
  "hex": "#e31246",
  "rgb": {
    "r": 227,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 345.072,
    "s": 85.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58507,
    "c": 0.22813,
    "h": 17.6
  },
  "luminance": 0.17206
}

Semantic roles & 50–950 ramp

primary
#E31246
secondary
#75DCC2
accent
#FCC82C
background
#FFF7F7
surface
#FFEEED
border
#D7C9C8
text
#190909
muted
#867B7B

Preview Lab

Preview with #E31246

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

Preview Lab → · Contrast checker → · Palette generator →

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