#7E1336#7E1336

#7E1336 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.141 H 8.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7E1336
RGBrgb(126, 19, 54)
HSLhsl(340, 74%, 28%)
HSVhsv(340, 85%, 49%)
CMYKcmyk(0%, 84.9%, 57.1%, 50.6%)
CIE-LABlab(27.21, 45.82, 8.09)
CIE-LCHlch(27.21, 46.53, 10.01°)
OKLaboklab(39.07% 0.1395 0.0206)
OKLCHoklch(39.07% 0.141 8.4)
XYZxyz(9.5038, 5.1691, 3.9866)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1336 #137E5B
analogous
#7E136B #7E1336 #7E2513
triadic
#7E1336 #367E13 #13367E
tetradic
#7E1336 #6B7E13 #137E5B #25137E
square
#7E1336 #6B7E13 #137E5B #25137E
split-complementary
#7E1336 #137E25 #136B7E
monochromatic
#1B040B #490B1F #7E1336 #B31B4D #DF2C67

Accessibility & contrast

On white

10.33
#7E1336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1336
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1336#FFFFFF#000000##FFFFFF
##7E13361.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313337
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1336;
/* rgb */ color: rgb(126, 19, 54);
/* oklch */ color: oklch(39.1% 0.141 8.4);
Tailwind
colors: {
  custom: {
    50: '#a95e6c',
    500: '#7e1336',
    950: '#000000',
  },
}
SCSS
$custom: #7e1336;
$custom-light: #a95e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1336",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 340.374,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39073,
    "c": 0.14098,
    "h": 8.4
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#7E1336
secondary
#39B48C
accent
#F0B437
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1336

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

Preview Lab → · Contrast checker → · Palette generator →

#7E1336 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva