#7E1A3E#7E1A3E

#7E1A3E is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.136 H 4.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7E1A3E
RGBrgb(126, 26, 62)
HSLhsl(338, 66%, 30%)
HSVhsv(338, 79%, 49%)
CMYKcmyk(0%, 79.4%, 50.8%, 50.6%)
CIE-LABlab(28.18, 44.39, 4.05)
CIE-LCHlch(28.18, 44.57, 5.22°)
OKLaboklab(39.86% 0.1358 0.0108)
OKLCHoklch(39.86% 0.136 4.5)
XYZxyz(9.8439, 5.5236, 5.1043)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A3E #1A7E5A
analogous
#7E1A70 #7E1A3E #7E281A
triadic
#7E1A3E #3E7E1A #1A3E7E
tetradic
#7E1A3E #707E1A #1A7E5A #281A7E
square
#7E1A3E #707E1A #1A7E5A #281A7E
split-complementary
#7E1A3E #1A7E28 #1A707E
monochromatic
#19050C #4B1025 #7E1A3E #B12457 #D73C74

Accessibility & contrast

On white

9.98
#7E1A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A3E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A3E#FFFFFF#000000##FFFFFF
##7E1A3E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1a3e;
/* rgb */ color: rgb(126, 26, 62);
/* oklch */ color: oklch(39.9% 0.136 4.5);
Tailwind
colors: {
  custom: {
    50: '#a96173',
    500: '#7e1a3e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a3e;
$custom-light: #a96173;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a3e",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 338.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39856,
    "c": 0.13627,
    "h": 4.5
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#7E1A3E
secondary
#42B28A
accent
#E9AC3F
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E1A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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