#7E1D49#7E1D49

#7E1D49 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.137 H 357.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7E1D49
RGBrgb(126, 29, 73)
HSLhsl(333, 63%, 30%)
HSVhsv(333, 77%, 49%)
CMYKcmyk(0%, 77%, 42.1%, 50.6%)
CIE-LABlab(28.89, 44.46, -2.26)
CIE-LCHlch(28.89, 44.52, 357.09°)
OKLaboklab(40.5% 0.1365 -0.0054)
OKLCHoklch(40.5% 0.137 357.7)
XYZxyz(10.2469, 5.7967, 6.8813)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D49 #1D7E52
analogous
#7E1D79 #7E1D49 #7E221D
triadic
#7E1D49 #497E1D #1D497E
tetradic
#7E1D49 #797E1D #1D7E52 #221D7E
square
#7E1D49 #797E1D #1D7E52 #221D7E
split-complementary
#7E1D49 #1D7E22 #1D797E
monochromatic
#1B060F #4C122C #7E1D49 #B02866 #D34284

Accessibility & contrast

On white

9.73
#7E1D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D49
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D49#FFFFFF#000000##FFFFFF
##7E1D491.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31384A
Deuteranopia (green-blind)
#4C4B47
Tritanopia (blue-blind)
#890F30
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1d49;
/* rgb */ color: rgb(126, 29, 73);
/* oklch */ color: oklch(40.5% 0.137 357.7);
Tailwind
colors: {
  custom: {
    50: '#a8637b',
    500: '#7e1d49',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d49;
$custom-light: #a8637b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d49",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 332.784,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.13665,
    "h": 357.7
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#7E1D49
secondary
#45B180
accent
#E69B42
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1D49

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

Preview Lab → · Contrast checker → · Palette generator →

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