#7E1D3E#7E1D3E

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

Color values

HEX#7E1D3E
RGBrgb(126, 29, 62)
HSLhsl(340, 63%, 30%)
HSVhsv(340, 77%, 49%)
CMYKcmyk(0%, 77%, 50.8%, 50.6%)
CIE-LABlab(28.55, 43.35, 4.58)
CIE-LCHlch(28.55, 43.59, 6.03°)
OKLaboklab(40.13% 0.1325 0.0121)
OKLCHoklch(40.13% 0.133 5.2)
XYZxyz(9.9139, 5.6635, 5.1276)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D3E #1D7E5D
analogous
#7E1D6E #7E1D3E #7E2D1D
triadic
#7E1D3E #3E7E1D #1D3E7E
tetradic
#7E1D3E #6E7E1D #1D7E5D #2D1D7E
square
#7E1D3E #6E7E1D #1D7E5D #2D1D7E
split-complementary
#7E1D3E #1D7E2D #1D6E7E
monochromatic
#1B060D #4C1226 #7E1D3E #B02856 #D34273

Accessibility & contrast

On white

9.85
#7E1D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D3E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D3E#FFFFFF#000000##FFFFFF
##7E1D3E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34373F
Deuteranopia (green-blind)
#4E4A3C
Tritanopia (blue-blind)
#8A072B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1d3e;
/* rgb */ color: rgb(126, 29, 62);
/* oklch */ color: oklch(40.1% 0.133 5.2);
Tailwind
colors: {
  custom: {
    50: '#a86273',
    500: '#7e1d3e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d3e;
$custom-light: #a86273;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d3e",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 339.588,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40128,
    "c": 0.13304,
    "h": 5.2
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#7E1D3E
secondary
#45B18D
accent
#E6AE42
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #7E1D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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