#7E1D3C#7E1D3C

#7E1D3C is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.133 H 6.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7E1D3C
RGBrgb(126, 29, 60)
HSLhsl(341, 63%, 30%)
HSVhsv(341, 77%, 49%)
CMYKcmyk(0%, 77%, 52.4%, 50.6%)
CIE-LABlab(28.49, 43.17, 5.84)
CIE-LCHlch(28.49, 43.56, 7.71°)
OKLaboklab(40.07% 0.1317 0.0152)
OKLCHoklch(40.07% 0.133 6.6)
XYZxyz(9.8600, 5.6419, 4.8439)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D3C #1D7E5F
analogous
#7E1D6C #7E1D3C #7E2F1D
triadic
#7E1D3C #3C7E1D #1D3C7E
tetradic
#7E1D3C #6C7E1D #1D7E5F #2F1D7E
square
#7E1D3C #6C7E1D #1D7E5F #2F1D7E
split-complementary
#7E1D3C #1D7E2F #1D6C7E
monochromatic
#1B060D #4C1224 #7E1D3C #B02854 #D34270

Accessibility & contrast

On white

9.87
#7E1D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D3C
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D3C#FFFFFF#000000##FFFFFF
##7E1D3C1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35373D
Deuteranopia (green-blind)
#4E4A3A
Tritanopia (blue-blind)
#8A062A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1d3c;
/* rgb */ color: rgb(126, 29, 60);
/* oklch */ color: oklch(40.1% 0.133 6.6);
Tailwind
colors: {
  custom: {
    50: '#a96271',
    500: '#7e1d3c',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d3c;
$custom-light: #a96271;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d3c",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 60
  },
  "hsl": {
    "h": 340.825,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40068,
    "c": 0.13257,
    "h": 6.6
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#7E1D3C
secondary
#45B18F
accent
#E6B142
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E1D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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