#7E1B3E#7E1B3E

#7E1B3E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.9% C 0.135 H 4.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7E1B3E
RGBrgb(126, 27, 62)
HSLhsl(339, 65%, 30%)
HSVhsv(339, 79%, 49%)
CMYKcmyk(0%, 78.6%, 50.8%, 50.6%)
CIE-LABlab(28.30, 44.05, 4.22)
CIE-LCHlch(28.30, 44.25, 5.48°)
OKLaboklab(39.94% 0.1348 0.0112)
OKLCHoklch(39.94% 0.135 4.8)
XYZxyz(9.8665, 5.5686, 5.1118)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B3E #1B7E5B
analogous
#7E1B6F #7E1B3E #7E2A1B
triadic
#7E1B3E #3E7E1B #1B3E7E
tetradic
#7E1B3E #6F7E1B #1B7E5B #2A1B7E
square
#7E1B3E #6F7E1B #1B7E5B #2A1B7E
split-complementary
#7E1B3E #1B7E2A #1B6F7E
monochromatic
#19050C #4C1025 #7E1B3E #B02657 #D63E73

Accessibility & contrast

On white

9.94
#7E1B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B3E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B3E#FFFFFF#000000##FFFFFF
##7E1B3E1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33363F
Deuteranopia (green-blind)
#4D4A3C
Tritanopia (blue-blind)
#8A032A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1b3e;
/* rgb */ color: rgb(126, 27, 62);
/* oklch */ color: oklch(39.9% 0.135 4.8);
Tailwind
colors: {
  custom: {
    50: '#a96273',
    500: '#7e1b3e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b3e;
$custom-light: #a96273;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b3e",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 338.788,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39944,
    "c": 0.13522,
    "h": 4.8
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#7E1B3E
secondary
#43B28B
accent
#E8AC40
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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