#7E1D3A#7E1D3A

#7E1D3A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.132 H 8.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7E1D3A
RGBrgb(126, 29, 58)
HSLhsl(342, 63%, 30%)
HSVhsv(342, 77%, 49%)
CMYKcmyk(0%, 77%, 54%, 50.6%)
CIE-LABlab(28.44, 42.99, 7.11)
CIE-LCHlch(28.44, 43.57, 9.38°)
OKLaboklab(40.01% 0.1309 0.0183)
OKLCHoklch(40.01% 0.132 8)
XYZxyz(9.8082, 5.6212, 4.5707)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D3A #1D7E61
analogous
#7E1D6A #7E1D3A #7E301D
triadic
#7E1D3A #3A7E1D #1D3A7E
tetradic
#7E1D3A #6A7E1D #1D7E61 #301D7E
square
#7E1D3A #6A7E1D #1D7E61 #301D7E
split-complementary
#7E1D3A #1D7E30 #1D6A7E
monochromatic
#1B060C #4C1223 #7E1D3A #B02851 #D3426D

Accessibility & contrast

On white

9.89
#7E1D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D3A
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D3A#FFFFFF#000000##FFFFFF
##7E1D3A1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35373B
Deuteranopia (green-blind)
#4F4A38
Tritanopia (blue-blind)
#8A0429
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1d3a;
/* rgb */ color: rgb(126, 29, 58);
/* oklch */ color: oklch(40.0% 0.132 8.0);
Tailwind
colors: {
  custom: {
    50: '#a9626f',
    500: '#7e1d3a',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d3a;
$custom-light: #a9626f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d3a",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 58
  },
  "hsl": {
    "h": 342.062,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4001,
    "c": 0.13216,
    "h": 8
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#7E1D3A
secondary
#45B191
accent
#E6B542
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E1D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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