#7E1D46#7E1D46

#7E1D46 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.135 H 359.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7E1D46
RGBrgb(126, 29, 70)
HSLhsl(335, 63%, 30%)
HSVhsv(335, 77%, 49%)
CMYKcmyk(0%, 77%, 44.4%, 50.6%)
CIE-LABlab(28.79, 44.14, -0.41)
CIE-LCHlch(28.79, 44.14, 359.47°)
OKLaboklab(40.39% 0.1355 -0.0006)
OKLCHoklch(40.39% 0.135 359.8)
XYZxyz(10.1498, 5.7579, 6.3701)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D46 #1D7E55
analogous
#7E1D76 #7E1D46 #7E241D
triadic
#7E1D46 #467E1D #1D467E
tetradic
#7E1D46 #767E1D #1D7E55 #241D7E
square
#7E1D46 #767E1D #1D7E55 #241D7E
split-complementary
#7E1D46 #1D7E24 #1D767E
monochromatic
#1B060F #4C122A #7E1D46 #B02862 #D3427F

Accessibility & contrast

On white

9.76
#7E1D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D46
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D46#FFFFFF#000000##FFFFFF
##7E1D461.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323847
Deuteranopia (green-blind)
#4D4B44
Tritanopia (blue-blind)
#890D2F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1d46;
/* rgb */ color: rgb(126, 29, 70);
/* oklch */ color: oklch(40.4% 0.135 359.8);
Tailwind
colors: {
  custom: {
    50: '#a86379',
    500: '#7e1d46',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d46;
$custom-light: #a86379;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d46",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 70
  },
  "hsl": {
    "h": 334.639,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4039,
    "c": 0.13549,
    "h": 359.8
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#7E1D46
secondary
#45B184
accent
#E6A142
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1D46

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

Preview Lab → · Contrast checker → · Palette generator →

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