#7E1636#7E1636

#7E1636 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.138 H 9.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7E1636
RGBrgb(126, 22, 54)
HSLhsl(342, 70%, 29%)
HSVhsv(342, 83%, 49%)
CMYKcmyk(0%, 82.5%, 57.1%, 50.6%)
CIE-LABlab(27.51, 44.97, 8.51)
CIE-LCHlch(27.51, 45.76, 10.71°)
OKLaboklab(39.29% 0.1367 0.0216)
OKLCHoklch(39.29% 0.138 9)
XYZxyz(9.5579, 5.2772, 4.0046)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1636 #167E5E
analogous
#7E166A #7E1636 #7E2A16
triadic
#7E1636 #367E16 #16367E
tetradic
#7E1636 #6A7E16 #167E5E #2A167E
square
#7E1636 #6A7E16 #167E5E #2A167E
split-complementary
#7E1636 #167E2A #166A7E
monochromatic
#1A050B #4A0D20 #7E1636 #B21F4C #DB3367

Accessibility & contrast

On white

10.22
#7E1636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1636
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1636#FFFFFF#000000##FFFFFF
##7E16361.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333437
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1636;
/* rgb */ color: rgb(126, 22, 54);
/* oklch */ color: oklch(39.3% 0.138 9.0);
Tailwind
colors: {
  custom: {
    50: '#a95f6c',
    500: '#7e1636',
    950: '#000000',
  },
}
SCSS
$custom: #7e1636;
$custom-light: #a95f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1636",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 54
  },
  "hsl": {
    "h": 341.538,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39293,
    "c": 0.1384,
    "h": 9
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#7E1636
secondary
#3DB38F
accent
#EDB63B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7E1636

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

Preview Lab → · Contrast checker → · Palette generator →

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