#7E1A49#7E1A49

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

Color values

HEX#7E1A49
RGBrgb(126, 26, 73)
HSLhsl(332, 66%, 30%)
HSVhsv(332, 79%, 49%)
CMYKcmyk(0%, 79.4%, 42.1%, 50.6%)
CIE-LABlab(28.53, 45.49, -2.80)
CIE-LCHlch(28.53, 45.57, 356.48°)
OKLaboklab(40.23% 0.1398 -0.0068)
OKLCHoklch(40.23% 0.14 357.2)
XYZxyz(10.1769, 5.6568, 6.8580)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A49 #1A7E4F
analogous
#7E1A7B #7E1A49 #7E1D1A
triadic
#7E1A49 #497E1A #1A497E
tetradic
#7E1A49 #7B7E1A #1A7E4F #1D1A7E
square
#7E1A49 #7B7E1A #1A7E4F #1D1A7E
split-complementary
#7E1A49 #1A7E1D #1A7B7E
monochromatic
#19050F #4B102C #7E1A49 #B12466 #D73C85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1A49#FFFFFF#000000##FFFFFF
##7E1A491.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)
#30374A
Deuteranopia (green-blind)
#4B4A47
Tritanopia (blue-blind)
#890A2F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1a49;
/* rgb */ color: rgb(126, 26, 73);
/* oklch */ color: oklch(40.2% 0.140 357.2);
Tailwind
colors: {
  custom: {
    50: '#a8627b',
    500: '#7e1a49',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a49;
$custom-light: #a8627b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a49",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 331.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4023,
    "c": 0.13998,
    "h": 357.2
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

primary
#7E1A49
secondary
#42B27D
accent
#E9993F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1A49

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

Preview Lab → · Contrast checker → · Palette generator →

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