#7E1631#7E1631

#7E1631 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.138 H 12.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7E1631
RGBrgb(126, 22, 49)
HSLhsl(344, 70%, 29%)
HSVhsv(344, 83%, 49%)
CMYKcmyk(0%, 82.5%, 61.1%, 50.6%)
CIE-LABlab(27.39, 44.59, 11.72)
CIE-LCHlch(27.39, 46.10, 14.72°)
OKLaboklab(39.16% 0.1346 0.029)
OKLCHoklch(39.16% 0.138 12.2)
XYZxyz(9.4464, 5.2326, 3.4177)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1631 #167E63
analogous
#7E1665 #7E1631 #7E2F16
triadic
#7E1631 #317E16 #16317E
tetradic
#7E1631 #657E16 #167E63 #2F167E
square
#7E1631 #657E16 #167E63 #2F167E
split-complementary
#7E1631 #167E2F #16657E
monochromatic
#1A050A #4A0D1D #7E1631 #B21F45 #DB335F

Accessibility & contrast

On white

10.26
#7E1631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1631
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1631#FFFFFF#000000##FFFFFF
##7E16311.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343331
Deuteranopia (green-blind)
#4E482E
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1631;
/* rgb */ color: rgb(126, 22, 49);
/* oklch */ color: oklch(39.2% 0.138 12.2);
Tailwind
colors: {
  custom: {
    50: '#aa5f68',
    500: '#7e1631',
    950: '#000000',
  },
}
SCSS
$custom: #7e1631;
$custom-light: #aa5f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1631",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 49
  },
  "hsl": {
    "h": 344.423,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39163,
    "c": 0.13773,
    "h": 12.2
  },
  "luminance": 0.05231
}

Semantic roles & 50–950 ramp

primary
#7E1631
secondary
#3DB394
accent
#EDBF3B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1631

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

Preview Lab → · Contrast checker → · Palette generator →

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