#7E1D3D#7E1D3D

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

Color values

HEX#7E1D3D
RGBrgb(126, 29, 61)
HSLhsl(340, 63%, 30%)
HSVhsv(340, 77%, 49%)
CMYKcmyk(0%, 77%, 51.6%, 50.6%)
CIE-LABlab(28.52, 43.26, 5.21)
CIE-LCHlch(28.52, 43.57, 6.87°)
OKLaboklab(40.1% 0.1321 0.0137)
OKLCHoklch(40.1% 0.133 5.9)
XYZxyz(9.8867, 5.6526, 4.9844)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D3D #1D7E5E
analogous
#7E1D6D #7E1D3D #7E2D1D
triadic
#7E1D3D #3D7E1D #1D3D7E
tetradic
#7E1D3D #6D7E1D #1D7E5E #2D1D7E
square
#7E1D3D #6D7E1D #1D7E5E #2D1D7E
split-complementary
#7E1D3D #1D7E2D #1D6D7E
monochromatic
#1B060D #4C1225 #7E1D3D #B02855 #D34272

Accessibility & contrast

On white

9.86
#7E1D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D3D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D3D#FFFFFF#000000##FFFFFF
##7E1D3D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35373E
Deuteranopia (green-blind)
#4E4A3B
Tritanopia (blue-blind)
#8A062B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1d3d;
/* rgb */ color: rgb(126, 29, 61);
/* oklch */ color: oklch(40.1% 0.133 5.9);
Tailwind
colors: {
  custom: {
    50: '#a86272',
    500: '#7e1d3d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d3d;
$custom-light: #a86272;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d3d",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 340.206,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.1328,
    "h": 5.9
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#7E1D3D
secondary
#45B18E
accent
#E6B042
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E1D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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